Fork of Line Chart with Multiple Lines
✓ Published0🌍 Public
This line chart displays one week of temperature data for cities worldwide from the Data Canvas - Sense Your City dataset, with each city rendered as a separate colored line using D3’s `nest` and `scaleOrdinal`. The visualization uses `d3.line` with `curveBasis` for smooth paths, `d3.scaleTime` and `d3.scaleLinear` for axes, and a custom `colorLegend` function for the categorical legend. The SVG includes labeled axes, a title, and gridlines generated via `axisBottom` and `axisLeft`, with lines styled using `mix-blend-mode: multiply`.
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