Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Temperature in San Francisco

Public visualization

Viewing a saved revision (read-only)

11928d8a16b14b378c1f57a7db83b0be

Fork of Temperature in San Francisco

0 stars1🌍 Public
Ggharakhani1986
Last edited Jul 12, 2022
Created on Jul 12, 2022

This example visualizes a week of temperature readings in San Francisco using an area chart that fills the space between a curve and the baseline. The chart includes labeled axes for time and temperature, with gridlines and a title. The code uses D3 v7’s `csv` loader to fetch the dataset, `scaleTime` and `scaleLinear` for scales, `axisBottom` and `axisLeft` for axes, and the `area` generator with `curveBasis` to create the smooth filled path rendered as SVG.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.