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 stars1🌍 Public
AAntti Siika
Last edited Oct 29, 2020
Created on Oct 29, 2020

This line chart shows temperature readings in San Francisco over a week, with time on the x-axis and temperature on the y-axis. The visualization uses d3’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a `line` generator with `curveBasis` to render a smooth maroon path. Data is loaded from an external CSV file via `d3.csv`, and the SVG output includes labeled axes and a title. The chart also employs `extent` for domain calculation and `nice()` for cleaner axis intervals.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed