Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

57189da064f647feb40e14f484ad648e

Fork of Line Chart with Multiple Lines

0 stars0🌍 Public
HHuxulm
Last edited Jul 4, 2024
Created on Jul 4, 2024

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 description

A 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.