Skip to main content
šŸŒ Public

Share visualization

Send this visualization to others.

Fork of Temperature in San Francisco Line Chart

Public visualization

Viewing a saved revision (read-only)

ffc340b5eaa94e19a024194666730319

Fork of Temperature in San Francisco Line Chart

0 stars0šŸŒ Public
RRunxin Shao
Last edited May 20, 2023
Created on May 20, 2023

This line chart visualizes one week of temperature data in San Francisco, sourced from the Data Canvas - Sense Your City project. The visualization plots timestamp on the x-axis against temperature on the y-axis, with a smooth curve connecting the data points. Built with D3 v5, the code uses functions like `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` to create the chart, rendered as SVG. The design includes labeled axes, a title, and a maroon line path with a basis curve, all styled via an external CSS file.

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: