Fork of Line Chart with Multiple Lines
✓ Published0🌍 Public
This visualization shows one week of temperature data from cities worldwide, with each city represented by a distinct colored line on a time-series chart. The lines are smoothed using `curveBasis`, and the legend displays city names in the order of their final temperature values. The chart uses d3's `scaleTime`, `scaleLinear`, `scaleOrdinal`, and `nest` to structure the data, with axes rendered via `axisBottom` and `axisLeft`. The color legend is built through a reusable function that appends circles and text. The data comes from Data Canvas - Sense Your City.
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