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
MMouad Et-tali
Last edited Oct 29, 2022
Created on Oct 29, 2022

This line chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The chart plots temperature (in Celsius) against time, with the line smoothed using `curveBasis` and labeled axes for Time and Temperature. Built with D3 v5, the code employs `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to generate the SVG rendering. Grid lines, a maroon styled path, and axis labels enhance readability, while data parsing converts timestamps to `Date` objects and temperatures to numbers.

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