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
SSathish P
Last edited Feb 15, 2022
Created on Feb 15, 2022

This line chart displays one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The visualization uses SVG rendering through D3 v5, employing `scaleTime` and `scaleLinear` for the axes, `extent` to compute domains, and `line` with `curveBasis` for the smoothed red temperature path. Axes are generated with `axisBottom` and `axisLeft`, styled with custom tick sizes and labels. The timestamp column is parsed into JavaScript `Date` objects, while temperature values are converted to numbers 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:

Comments

Sign in to join the discussion.

MIT Licensed