Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Francisco Line Chart

Public visualization

Viewing a saved revision (read-only)

624d277205fe41e7af1cc2299c9c3414

Temperature in San Francisco Line Chart

0 stars0🌍 Public
YYasara Peiris
Last edited Jul 19, 2020
Created on Jul 19, 2020

This line chart displays one week of temperature data in San Francisco, showing a smooth trend line with labeled axes for time and temperature. The chart uses the D3 v5 library, leveraging `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` with `curveBasis` for the smoothed path. Data is loaded from a CSV file via D3’s `csv` function, with timestamps parsed as dates and temperatures as numbers. Axis labels and titles are styled from the included 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: