Line Chart with Multiple Lines
✓ Published1🌍 Public
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 descriptionThis 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