Skip to main content
100%

Line Chart with Multiple Lines

✓ Published2🌍 Public
Ssafdarawan
Last edited Jun 12, 2020
Created on Jun 12, 2020

This visualization displays temperature readings for multiple cities over a one-week period, with each city represented by a colored line. The chart uses D3 v5’s `scaleTime` and `scaleLinear` for axes, `line` with `curveBasis` for smooth paths, and `nest` to group data by city. A color legend, built from `scaleOrdinal` with `schemeCategory10`, identifies each line. The SVG rendering includes axis labels, a title, and grid lines. Data comes from a CSV file loaded via D3’s `csv` function, with timestamps parsed as dates.

AI-generated description

This Scatter plot shows one week temperature in San Francisco.

MIT Licensed

Similar vizzes