Line chart with multiple lines
✓ Published1🌍 Public
This line chart displays one week of temperature data for multiple cities from the Data Canvas - Sense Your City dataset, using a distinct color for each city’s time series. The d3.v5 code employs `d3.line` with `curveBasis` to generate smooth SVG paths, `d3.scaleTime` and `d3.scaleLinear` for axes, and `d3.nest` to group by city. A custom color legend renders using `d3.scaleOrdinal` with `schemeCategory10`, while axis labels and gridlines are styled via CSS.
AI-generated descriptionThis Line Chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense your City.
MIT Licensed