Skip to main content
100%

Line Chart with Multiple Lines

✓ Published1🌍 Public
FFazerl
Last edited Dec 7, 2019
Created on Dec 7, 2019

This line chart displays one week of temperature data for cities around the world, with each city represented by a colored line. The visualization uses d3.line with curveBasis to smooth the temperature trajectories, while d3.scaleTime and d3.scaleLinear map time and temperature values to positions. A custom colorLegend function renders the categorical color scale using d3.scaleOrdinal. Data comes from Data Canvas - Sense Your City, loaded via d3.csv, and is rendered as SVG paths with a multiply blend mode.

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