Fork of Fork of Linechart
✓ Published0🌍 Public
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 descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.
MIT Licensed