Skip to main content
100%

Fork of Fork of Linechart

✓ Published0🌍 Public
Nnkarinti
Last edited Jul 24, 2023
Created on Jul 5, 2023

This interactive line chart displays temperature over time for San Francisco, using a time-based x-axis and linear y-axis. The data is loaded from a CSV file using D3’s `csv` utility and parsed into timestamps and numeric temperatures. The chart is rendered in SVG with React components, using D3’s `scaleTime`, `scaleLinear`, and `line` generator to draw the path. Circles with native SVG `<title>` tooltips mark each data point, while axes are built from custom React components that map D3 ticks to SVG groups.

AI-generated description

A program that loads in some data using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes