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 stars0🌍 Public
PPotikorn
Last edited Feb 21, 2020
Created on Feb 21, 2020

This line chart displays temperature readings from multiple cities over a one-week period, with each city represented by a colored line and a corresponding color legend. The chart uses a time-scaled x-axis and linear y-axis for temperature, with grid lines for readability. Built with D3 v5, it loads CSV data from VizHub, parses timestamps and numeric temperatures, then uses `d3.line` with `curveBasis` for smooth paths, `d3.nest` for grouping by city, and `d3.scaleOrdinal` with `schemeCategory10` for colors.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed