Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
TTrustPaul
Last edited Nov 20, 2020
Created on Nov 20, 2020

This line chart displays one week of temperature data in San Francisco, sourced from the Data Canvas - Sense Your City project. The visualization uses a smooth area chart with a maroon fill and stroke, plotting temperature against time. The code leverages D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `area`, and `curveBasis` to render the SVG. Data is loaded via `csv` from a remote file, with timestamps parsed as `Date` objects and temperatures converted to numeric values.

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