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)

e80bd525e8b44a9498f264b9e277e43e

Fork of Temperature in San Francisco

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

A line chart visualizes a week of temperature changes in San Francisco, using a smooth basis curve to connect data points over time. The D3.js code loads CSV data from a remote source, parses timestamps and numeric temperature values, and renders an SVG graphic with labeled time and temperature axes. It employs `select`, `csv`, `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` with `curveBasis` to build the visualization, adding gridlines via tick marks and removing axis domains for a clean look.

AI-generated description

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