Fork of Line Chart
✓ Published0🌍 Public
This fork of a line chart visualizes daily surface air temperature data from 1940 onward, colored by year using the d3 interpolatePlasma color scale. The chart plots each year as a separate line, with 2024 highlighted in thick red for emphasis, while a semi-transparent inner rectangle provides background contrast. The code uses d3’s scaleLinear, extent, line, and flatGroup to prepare and render the multiple series, alongside the responsive-axes library for labeled axes and the observeResize utility for container dimensions.
AI-generated descriptionA visualization of Daily Surface Air Temperature, colored by year, with 2024 highlighted in red. Made in collaboration with EJ Fox, leveraging data prepared by Matthias Stahl.
MIT Licensed