Line Chart with Multiple Lines
✓ Published1🌍 Public
This line chart displays one week of temperature readings in degrees Celsius for cities worldwide, with data sourced from Data Canvas - Sense Your City. Each city appears as a distinct colored line, sorted by final temperature. The visualization uses d3.line with curveBasis for smoothing, d3.scaleTime and d3.scaleLinear for axes, and d3.nest to group data by city. A custom colorLegend function renders the categorical color scale, while axis labels and a title contextualize the chart.
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