Skip to main content
100%

Temperature in SF Line Chart

✓ Published1🌍 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
MIT Licensed

Similar vizzes