🌍 Public
Viewing a saved revision (read-only)
1af0b491987f430fb6068e709acb2822
Line Chart with Multiple Lines
This line chart displays one week of temperature data in degrees Celsius for cities around the world, sourced from the Data Canvas - Sense Your City dataset. Each city appears as a distinct colored line, with a color legend positioned to the right. The code uses d3.csv, d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, d3.axisBottom, d3.axisLeft, d3.line with curveBasis, and d3.nest to structure the data by city. Multiple lines are rendered as SVG paths with a multiply blend mode for overlapping strokes.
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.