Skip to main content
100%

Line Chart with Multiple Lines

✓ Published0🌍 Public
SSean Moore
Last edited Nov 12, 2019
Created on Nov 12, 2019

This line chart displays weekly temperature readings across multiple cities, with each colored line representing a different city’s production season. It uses D3 v5 with nested data grouping via `d3.nest()` and renders SVG paths generated by `d3.line()` with a basis curve. The chart includes axes from `d3.axisBottom` and `d3.axisLeft`, and a custom color legend built with `scaleOrdinal` and `schemeCategory10`. Data comes from the Data Canvas - Sense Your City dataset, loaded as CSV.

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