Working with Time
✓ Published1🌍 Public
This example visualizes temperature changes over time as a smooth line chart. The data is fetched from a CSV file containing weekly temperature readings from San Francisco. The chart uses a time-scaled x-axis with day-of-week labels and a linear y-axis for temperature values. Built with React and D3 v5, it employs `scaleTime`, `scaleLinear`, `extent`, and `curveNatural` to generate the curved path, with reusable `AxisBottom`, `AxisLeft`, and `Marks` components rendering in SVG.
AI-generated descriptionA scatter plot of something changing over time. (https://gist.githubusercontent.com/Debiday/5e789cf011f020169e6d17dc7ec7404d/raw/8e3d60b02c20c41482d57c6764910927f07239a8/CA.csv).
MIT Licensed