Skip to main content
100%

Svelte + D3: Radial

✓ Published4🌍 Public
MMatthias Stahl
Last edited Nov 26, 2025
Created on Feb 16, 2024

This radial chart displays daily global surface temperatures from 1940 to 2024, with each year drawn as a single circular path. The visualization highlights 2023 and 2024 in distinct colors, while older years appear as faint white rings. Using d3.lineRadial with a curveCatmullRom, the code maps day-of-year to angle and temperature values to radius via d3.scaleLinear. Data is loaded from a CSV using d3.csv with autoType, grouped by year with d3.groups, and rendered as SVG paths. The background uses a dark radial gradient, with an opacity scale differentiating historical from recent years.

AI-generated description

Daily surface temperatures since 1940. One circle = one year.

Data source: https://climatereanalyzer.org/clim/t2_daily/?dm_id=world

MIT Licensed

Similar vizzes