Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF Line Chart

Public visualization

Temperature in SF Line Chart

0 stars1🌍 Public
Rrainyrainyguo
Last edited Nov 13, 2020
Created on Nov 13, 2020
Forked from Cars Scatter Plot

This line chart visualizes a week of temperature readings in San Francisco, plotting time on the x-axis and temperature on the y-axis. A smooth maroon curve connects the data points, supported by a grid of light gray tick lines with labeled axes. The code uses d3.scaleTime, d3.scaleLinear, d3.line with curveBasis, and d3.axisBottom/axisLeft to render the SVG. Data is loaded via d3.csv from a remote CSV file, with timestamps parsed as Date objects and temperatures converted to numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed