Skip to main content
100%

Line Chart with Multiple Lines with D3.js!

✓ Published1🌍 Public
Fforcox43
Last edited Jul 22, 2020
Created on Jul 22, 2020

This visualization displays a week of temperature data from multiple cities worldwide, using distinct colored lines to represent each city’s temperature changes over time. Built with React and D3.js (v5), it employs scales like `scaleTime` and `scaleLinear`, a `line` generator with `curveBasis`, and nested data via `nest` to group readings by city. A custom `colorLegend` component renders the legend. The data originates from Data Canvas – Sense Your City, presented as an SVG.

AI-generated description

This scatter plot shows data on one week of temperatures in degress Celcius in San Francisco. The data comes from Data Canvsas - Sense Your City.

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes