Line Chart with Multiple Lines
✓ Published1🌍 Public
This line chart displays one week of temperature readings in degrees Celsius for multiple cities worldwide, using data from the Data Canvas - Sense Your City project. Each city appears as a distinct colored line, with a color legend on the right and standard axes labeled "Time" and "Temperature." The visualization uses d3.csv for data loading, d3.nest to group readings by city, and d3.line with curveBasis to generate smooth paths. A d3.scaleTime and d3.scaleLinear map the timestamps and temperatures to x and y positions, while an ordinal color scale assigns hues from schemeCategory10.
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