Skip to main content
100%

Fork of Temperature in San Francisco Line Chart

✓ Published0🌍 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:

MIT Licensed

Similar vizzes