Fork of Line Chart with Multiple Lines
✓ Published1🌍 Public
This chart visualizes a week of temperature data from cities worldwide, using a line chart with multiple colored lines to compare temperature trends over time. It displays time on the x-axis and temperature in degrees Celsius on the y-axis, with each city represented by a distinct color from the `scaleOrdinal` and `schemeCategory10` palette. The visualization uses `d3.line` with `curveBasis` for smoothing and includes a color legend generated by a custom `colorLegend` function. Data is loaded via `d3.csv` from the Data Canvas - Sense Your City dataset and rendered as SVG.
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