🌍 Public
Fork of Line Chart with Multiple Lines
This fork of the line chart displays daily surface air temperature as a series of colored lines, one for each year, with 2024 highlighted in red for emphasis. The visualization uses data from the `@curran/daily-surface-air-temperature` package, mapping day of year and air temperature to positions. It employs `d3.scaleLinear`, `d3.scaleSequential`, and `d3.interpolatePlasma` to color each year's line, while `d3.line` generates the paths. The `@curran/responsive-axes` library draws the axes, and `d3.flatGroup` groups data by year.
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
Comments
Sign in to join the discussion.