Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
PPhilippe Rigovanov
Last edited Jan 6, 2020
Created on Jan 6, 2020

This line chart displays one week of temperature in San Francisco, with time on the x-axis and temperature on the y-axis. The code uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a `line` generator with `curveBasis` to render the smooth path in SVG. Data is loaded from a CSV via `d3.csv` and parsed into `Date` and numeric values. The chart includes axis labels, grid lines, and a title, with data sourced from Data Canvas - Sense Your City.

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