Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

d7a0c33a288c457d8d087e20183d7c56

Line Chart with Multiple Lines

0 stars1🌍 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