Skip to main content
100%

Fork of Line Chart with Multiple Lines

✓ Published0🌍 Public
Kkoki1010
Last edited Aug 24, 2022
Created on Aug 24, 2022

This line chart from the Data Canvas Sense Your City dataset displays one week of temperature readings across multiple global cities, with each city represented by a smooth curve. The visualization groups data by city via `d3.nest()` and renders paths using the `d3.line()` generator with `curveBasis`, colored by `scaleOrdinal(schemeCategory10)`. A reusable colorLegend module appends circles and text labels. Axes use `axisBottom` and `axisLeft` with grid lines, while D3 v5 handles time and linear scales for timestamp and temperature values. The SVG output includes a title and rotated axis labels.

AI-generated description

This 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

Similar vizzes