Skip to main content
100%

Line Chart with Multiple Lines

✓ Published1🌍 Public
Vvic126
Last edited Nov 13, 2020
Created on Jul 2, 2020
Forked from Line Chart

This line chart displays a week of temperature data from multiple cities, with each city represented by a colored line and a corresponding color legend. The visualization uses D3 v5’s scaleTime, scaleLinear, and line generators with a curveBasis to create smooth paths, while nest() groups data by city and sorts lines by their final temperature value. SVG rendering handles the axes, gridlines, and labels, with the data loaded from a CSV file via d3.csv.

AI-generated description
MIT Licensed

Similar vizzes