Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Viewing a saved revision (read-only)

d6ccc578f41d4fe3828bf0bd58cd40e5

Fork of React Starter

0 stars0🌍 Public
YYashwanth0311
Last edited Apr 18, 2024
Created on Apr 18, 2024
Forked from React Starter

This example displays multi-city temperature time-series data as colored line charts. It fetches CSV data from a remote Gist and parses it with `d3.csvParse`, then renders an SVG graph using `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. The `d3.line` generator draws each city’s temperature over datetime, with random HSL stroke colors assigned per city. Data is loaded asynchronously via `fetch`, and the visualization updates automatically once the dataset arrives.

AI-generated description

React Starter code.