🌍 Public
Viewing a saved revision (read-only)
3bcc8b778be54c6580f03ce401c5603f
Working with Time
A line chart displays San Francisco’s weekly temperatures over time, with a smooth curve connecting daily readings. The x-axis labels weekdays via a time scale, while the y-axis shows degrees. Built with React and D3 v7, it uses `scaleTime`, `scaleLinear`, and `line().curve(curveNatural)` to render the path. Axes are generated from the `AxisBottom` and `AxisLeft` components, pulling data from a CSV loaded in `useData`.
AI-generated descriptionA stylized line chart of The Weeks Temperature in SF