Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Fork of Line Chart

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

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