Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
Wwannurmawaddah
Last edited Sep 29, 2020
Created on Sep 29, 2020

This line chart displays one week of temperature data (in degrees Celsius) for San Francisco, using a smooth curve to connect daily measurements. The visualization uses D3 v5 with an SVG rendering approach, employing scales like `scaleTime` and `scaleLinear` to map timestamps and temperature values to screen coordinates, while `axisBottom` and `axisLeft` generate the labeled axes. The line is drawn with `d3.line` and a basis curve, and the data is loaded from an external CSV via `d3.csv`, with each timestamp parsed as a JavaScript `Date` object.

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