Skip to main content
100%

Fork of Line Chart with Multiple Lines

✓ Published0🌍 Public
AAvonlea Fisher
Last edited Feb 19, 2021
Created on Feb 19, 2021

This line chart displays one week of temperature data from cities worldwide, sourced from Data Canvas – Sense Your City. Each smoothed line, rendered with d3.line and curveBasis, represents a city’s temperature over time, colored using d3.scaleOrdinal with schemeCategory10. The chart includes axes with grid lines, a title, and a custom color legend. The code uses d3.csv for data loading, d3.nest for grouping by city, and d3.scaleTime for the time axis, rendering in SVG.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes