Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed