Line Chart with Multiple Lines (Square Root)
✓ Published1🌍 Public
This line chart displays one week of temperature data in degrees Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. It uses D3's `scaleTime` and `scaleSqrt` to map time and temperature, with multiple lines colored via `scaleOrdinal` and `schemeCategory10`. The visualization emphasizes Rio de Janeiro by showing its data points as circles and value labels, while a legend indicates rank. The code leverages D3's `nest` for grouping, `line` with `curveBasis` for smoothing, and renders as an SVG with styled paths and axis labels.
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