Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart with Multiple Lines

Public visualization

Fork of Line Chart with Multiple Lines

0 stars0🌍 Public
Ssarveshcsc898@gmail.com
Last edited Aug 12, 2024
Created on Aug 12, 2024

This example visualizes daily surface air temperature data, where each year is represented as a separate line plotted across the days of the year. The lines are colored using a plasma color scale based on the year, with 2024 highlighted in red and a thicker stroke for emphasis. Using D3's `scaleLinear`, `scaleSequential`, and `flatGroup` utilities, the code groups the dataset by year and draws multiple paths. The visualization relies on the `@curran/daily-surface-air-temperature` data package and incorporates responsive axes from the `@curran/responsive-axes` library.

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.

Comments

Sign in to join the discussion.

MIT Licensed