Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
LLokesh Parmar
Last edited Sep 14, 2020
Created on Sep 13, 2020

This line chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City, with time on the x-axis and temperature in Celsius on the y-axis. Using D3 v5 with an SVG rendering approach, the code employs `scaleTime` and `scaleLinear` for axes, `line` with `curveBasis` for the smoothed path, and `axisBottom`/`axisLeft` for tick marks. The chart includes titled axes and a maroon stroke line, loaded via CSV and styled with custom CSS.

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