Skip to main content
100%

Temp in SF Area Chart

✓ Published0🌍 Public
Aandy-yc-lin
Last edited Jan 24, 2020
Created on Jan 24, 2020

This area chart visualizes temperature over time in San Francisco, with the curve’s shape revealing trends and fluctuations. The visualization uses D3 v5’s `area`, `curveBasis`, `scaleTime`, and `scaleLinear` to generate a smooth filled path, while `axisBottom` and `axisLeft` add labeled, gridded axes. Data is loaded from a CSV file via `csv()`, with timestamps parsed as dates and temperatures converted to numbers. The SVG output renders with styled tick marks, axis labels, and a title, all configured through a `margin` layout and responsive sizing.

AI-generated description
MIT Licensed

Similar vizzes