Line Chart with Multiple Lines
✓ Published2🌍 Public
This line chart visualizes one week of temperature data from Data Canvas - Sense Your City across multiple global cities. It shows time on the x-axis, temperature in degrees Celsius on the y-axis, and encodes city as color, with lines sorted by their final temperature value. The visualization uses d3.scaleLinear, d3.scaleTime, d3.scaleOrdinal, d3.line, and d3.curveBasis to render a smooth path for each city. A custom color legend, rendered as an SVG group, is positioned in the upper-right corner using the colorLegend function.
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