Skip to main content
100%

Line Chart with Multiple Lines

✓ Published2🌍 Public
MMikePowar
Last edited Mar 20, 2020
Created on Mar 20, 2020

This line chart displays one week of temperature data for cities around the world, sourced from Data Canvas - Sense Your City. Each line represents a city’s temperature over time, distinguished by color, with a legend to identify cities. The chart uses d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, d3.line with curveBasis, and d3.nest to group data by city. Axes are rendered with d3.axisBottom and d3.axisLeft. A custom colorLegend function creates the SVG legend.

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