Skip to main content
100%

Line Chart with Multiple Lines

✓ Published1🌍 Public
PPhilRG
Last edited May 17, 2020
Created on May 17, 2020

This line chart displays one week of temperature data from cities around the world, with each city represented by a distinct colored line. The chart uses a time-scaled x-axis and linear temperature scale, with legend and axis labels for readability. Built with D3 v5, the code employs `d3.line` with `curveBasis` for smooth paths, `d3.nest` for grouping by city, and `scaleOrdinal` with `schemeCategory10` for colors. Data originates from Data Canvas - Sense Your City, rendered as SVG in an HTML page.

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