🌍 Public
Viewing a saved revision (read-only)
22e4388ae9504a94a301556a44868896
Svelte + D3: Line
This visualization displays daily surface temperatures since 1940, with one line per year rendered as an SVG path. The code uses Svelte’s reactivity and D3’s `csv`, `scaleLinear`, `extent`, `line`, `groups`, and `curveCatmullRom` to map day-of-year and temperature values. Recent years (2023–2024) are highlighted with distinct colors and increased opacity, while older years fade into the background. Data comes from Climate Reanalyzer’s world daily temperature record, with a dark gradient backdrop and legend overlay.
AI-generated descriptionDaily surface temperatures since 1940. One line = one year.
Data source: https://climatereanalyzer.org/clim/t2_daily/?dm_id=world