Fork of Svelte + D3: Radial
✓ Published0🌍 Public
A radial line chart visualizes daily surface temperatures from 1940 to 2024, with each year represented as a single closed ring. The visualization highlights 2023 and 2024 in distinct pink and blue strokes while older years appear as faint white loops, emphasizing recent climate trends. Using d3’s `lineRadial` generator with a Catmull-Rom curve, the code maps day-of-year to angles and temperature values to radii via `scaleLinear`. Yearly groups are separated with d3.groups, and opacity is scaled by year to show historical density. The SVG renders responsively, with data sourced from climatereanalyzer.org.
AI-generated descriptionDaily surface temperatures since 1940. One circle = one year.
Data source: https://climatereanalyzer.org/clim/t2_daily/?dm_id=world
MIT Licensed