Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
PPhilRG
Last edited May 14, 2020
Created on May 14, 2020

This line chart displays one week of temperature readings in San Francisco, with time on the x-axis and temperature in degrees Celsius on the y-axis. It uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with a `curveBasis` path generator to render the smooth maroon trend line over a grid of light gray ticks. The data is loaded as CSV from a remote URL and parsed into `Date` and numeric values. The chart is drawn as an SVG with margins, axis labels, and a title, based on a tutorial by PhilRG.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

Made in this video:

MIT Licensed

Similar vizzes