Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Temperature in San Francisco Line Chart

Public visualization

Fork of Temperature in San Francisco Line Chart

0 stars0🌍 Public
CCheng Tang
Last edited Oct 23, 2022
Created on Oct 23, 2022

This line chart displays a week of temperature data in San Francisco, using a smooth curved line to connect daily measurements. The visualization, titled “A Week in San Francisco,” plots temperature in degrees Celsius over time. The code uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG. Data is loaded from a CSV file provided by Data Canvas - Sense Your City, with a styled maroon line, grid lines, and labeled axes.

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:

Comments

Sign in to join the discussion.

MIT Licensed