Line Chart with Multiple Lines
✓ Published0🌍 Public
The visualization displays a week of temperature readings from multiple global cities as a multi-series line chart, with each city represented by a distinct colored line derived from the D3 `schemeCategory10` ordinal scale. It uses D3 v5’s `scaleTime` and `scaleLinear` for the time and temperature axes, and constructs the smooth curves via `line()` with `curveBasis`. The data is loaded from a CSV dataset provided by Data Canvas - Sense Your City, and a custom `colorLegend` component annotates the city names.
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