Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature Line Chart - San Francisco

Public visualization

Viewing a saved revision (read-only)

3913a04b2e104f75a796236b74aa0e90

Temperature Line Chart - San Francisco

0 stars2🌍 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.