Skip to main content
100%

Svelte + D3: Line (II)

✓ Published0🌍 Public
MMatthias Stahl
Last edited Nov 26, 2025
Created on Feb 21, 2024
Forked from Svelte + D3: Line

The chart displays daily Atlantic sea surface temperatures from 1982 to 2024, with each year drawn as its own line. Recent years are highlighted—2024 in blue and 2023 in pink—while older years appear as faint white strokes, emphasizing the temperature trajectory over time. Built with Svelte, it uses D3's `csv` and `autoType` to load data, `scaleLinear`, `extent`, and `line` with `curveCatmullRom` for the paths, and `groups` to structure lines by year. The SVG renders against a dark gradient background, with an overlay legend identifying the color coding.

AI-generated description

Daily atlantic sea surface temperatures since 1982. One line = one year.

Data source: https://climatereanalyzer.org/clim/sst_daily/

MIT Licensed

Similar vizzes