Skip to main content
100%

Temperature Line Chart - San Francisco

✓ Published2🌍 Public
Ppranav-vis
Last edited Sep 6, 2021
Created on Sep 6, 2021
Forked from IRIS Scatterplot

This line chart displays daily temperature variations in San Francisco over a week, with individual data points circled along a smooth curve. The visualization uses React with D3 v7, reading data from a CSV via `d3.csv`. The chart implements `d3.scaleTime` for the x-axis, `d3.scaleLinear` for the y-axis, and a path drawn with `d3.line` and `d3.curveNatural`. Axes are custom React components rendering SVG tick marks, with gradient styling applied through companion CSS classes. The data loads asynchronously through a custom `useData` hook and displays a loading message until ready.

AI-generated description

Rendering CSS named colors from MDN.

MIT Licensed

Similar vizzes