Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart with multiple lines

Public visualization

Line chart with multiple lines

0 stars2🌍 Public
Aarieltonglet
Last edited Oct 17, 2019
Created on Oct 4, 2019

A line chart displays a week of temperature readings for multiple cities, with each city’s time series drawn as a distinct colored line and a color legend identifying each one. The chart uses D3’s `scaleTime`, `scaleLinear`, and `scaleOrdinal` for scales, `d3.line` with `curveBasis` for path generation, and `d3.nest` to group data by city. The SVG rendering includes axes with gridlines, and data is loaded via `d3.csv`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed