Skip to main content
100%

Line Chart with Multiple Lines

✓ Published2🌍 Public
EEllednera
Last edited Nov 20, 2020
Created on Nov 5, 2020

This line chart displays a week of temperature readings from multiple cities around the world, with each city represented by a distinct colored line plotted over time. The visualization uses D3 v6 with SVG rendering, employing `d3.scaleTime`, `d3.scaleLinear`, `d3.line` with `curveBasis`, and `d3.nest` to group data by city. A color legend built with `d3.scaleOrdinal` and `schemeCategory10` identifies each line. The data comes from a CSV file loaded via `d3.csv` and rendered with custom axes, grid lines, and a title.

AI-generated description
MIT Licensed

Similar vizzes