Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
AA1L9E9X9
Last edited Oct 12, 2020
Created on Oct 12, 2020

This line chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The chart maps timestamps to the x-axis and temperature in degrees Celsius to the y-axis, with a smooth curved line connecting the data points. The visualization includes labeled axes, grid lines, and a title. The code uses D3 v5 with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to generate the SVG rendering. Data is loaded via `csv` and processed by converting temperature to numbers and timestamps to `Date` objects before rendering.

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