Skip to main content
100%

Fork of Temperature in San Francisco Line Chart

✓ Published0🌍 Public
Pprojectcybersyn2
Last edited Dec 6, 2021
Created on Dec 6, 2021

This fork of a Data Canvas project visualizes one week of temperature data in San Francisco as a smooth line chart. The SVG rendering is built with d3.v5, using `scaleTime` and `scaleLinear` for the axes and a `line` generator with `curveBasis` for the smoothed temperature path. Data is loaded from a CSV file via VizHub, with timestamps converted to `Date` objects and temperatures to numbers. Grid lines, axis labels, and a title are drawn using standard D3 axis and text primitives, all styled with the accompanying CSS.

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