Skip to main content
100%

Temperature in San Francisco Area Chart

✓ Published1🌍 Public
MMichał Szumnarski
Last edited Jul 15, 2019
Created on Jul 15, 2019

This example visualizes a week of temperature data for San Francisco as a smooth area chart, combining a maroon filled region with a matching stroke line to show the trend over time. The chart includes labeled axes for time and temperature, with gridlines and a clear title. It is built with D3 v5, using `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and the `area` generator with a basis curve for smoothing. Data is loaded from a CSV file via `csv` and rendered as an SVG, with the timestamp parsed into a JavaScript `Date` object.

AI-generated description
MIT Licensed

Similar vizzes