Work

Tideline

Thirty years of coastal buoy data, rendered as one continuous horizon: a WebGL reader for tides, temperature, and storm history.

Role
Engineering & Data Viz
Year
2025
Stack
Links
Live site ↗Source ↗

The problem

Public buoy archives are a treasure nobody can read: millions of observations across thousands of stations, published as per-station CSV downloads behind forms that cap every query at one week. Researchers stitch them by hand; everyone else gives up.

Tideline pre-processes the archive into tiled columnar segments and renders any time range — a day or three decades — as one continuous, scrubbable horizon of tide height, water temperature, and storm events.

Approach

Rendering is WebGL with a level-of-detail scheme borrowed from map tilers: at thirty-year zoom each pixel column aggregates min/mean/max of ~40k readings, and the aggregation pyramid is built once at ingest. Panning and zooming never re-query raw data; they walk the pyramid. D3 handles scales and axes, and the color ramps are perceptually uniform in both light and dark mode.

The ingest pipeline runs on Bun against the public feeds nightly, and every derived tile is content-addressed — a corrupted segment re-downloads and rebuilds itself on next access.

Outcome

Sixty frames per second across 30 years × 1,400 stations on a five-year-old laptop. First meaningful paint under 800ms on cold cache. Used by two university marine-science groups for storm-season retrospectives, and cited in one paper's data-availability section — the metric I'm proudest of.