Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Temperature in San Francisco Line Chart

Public visualization

Temperature in San Francisco Line Chart

0 stars0๐ŸŒ Public
AA1L9E9X9
Last edited Oct 11, 2020
Created on Oct 11, 2020
Forked from HTML Starter

This visualization displays a week of temperature readings in San Francisco as a smooth line chart. The code uses d3.scaleTime and d3.scaleLinear to map time and temperature data, with axes labeled "Time" and "Temperature." The line is generated with d3.line and curveBasis for smoothing, rendered as an SVG path with a maroon stroke. Data is loaded via d3.csv from a remote dataset, and the chart includes a title "A Week in San Francisco" with gridlines and axis labels styled via CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed