๐ Public
D3 Temperature in San Francisco Area Chart
Aadbirch
Last edited Jan 24, 2023
Created on Jan 24, 2023
Forked from D3 Temperature in San Francisco Line Chart
This visualization shows a week of temperature readings in San Francisco as a smooth, maroon-colored area chart over time. Temperature is plotted on the y-axis and time on the x-axis, with the area filling the space between the curve and the baseline. The code uses D3 v7 APIs including `scaleTime`, `scaleLinear`, `area` with `curveBasis`, and `axisLeft`/`axisBottom`. Data is loaded from a CSV file via `d3.csv`, with timestamps converted to `Date` objects and rendered as SVG elements.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.