Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Several City Chart

Public visualization

Viewing a saved revision (read-only)

c4cfef4658d04038955fdeb629fe31e3

Several City Chart

1 star3🌍 Public
Jjeelong
Last edited Jul 18, 2020
Created on Jul 18, 2020
Forked from Line Chart

This visualization displays a week of temperature readings from multiple cities, using a multi-line chart to compare trends over time. Each city is represented by a colored path, with a categorical color scale and a legend identifying each location. The chart is built with React and D3 v5, using `d3.scaleTime`, `d3.scaleLinear`, and `d3.line` with `curveBasis` for smooth paths. Data is loaded via `d3.csv` from a remote dataset, and the rendering uses SVG with nested groups for axes and a custom color legend function.

AI-generated description

React Starter code.