Skip to main content
100%

Temp in SFO Line Chart

✓ Published1🌍 Public
Lleopoldovce2
Last edited May 13, 2021
Created on May 13, 2021

This line chart displays one week of temperature data in Celsius for San Francisco, sourced from Data Canvas - Sense Your City. The visualization uses D3 v6's `scaleTime` and `scaleLinear` functions to map time and temperature values to the SVG canvas, with `axisBottom` and `axisLeft` generating grid lines and tick marks. The line itself is drawn using `line` with a `curveBasis` curve, while axis labels and titles are styled via CSS.

AI-generated description

An example including some commonly used features of SVG.

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

MIT Licensed

Similar vizzes