Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

D3 Temperature in San Francisco Area Chart

Public visualization

D3 Temperature in San Francisco Area Chart

0 stars1๐ŸŒ Public
Aadbirch
Last edited Jan 24, 2023
Created on Jan 24, 2023

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 description

Comments

Sign in to join the discussion.

MIT Licensed