Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
DDaniel Frey
Last edited Apr 27, 2020
Created on Apr 27, 2020

This line chart displays one week of temperature data in degrees Celsius for San Francisco, with time on the x-axis and temperature on the y-axis. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render a smoothed path showing temperature fluctuations. Data is loaded via `csv` from a remote dataset and parsed into JavaScript `Date` and numeric values. The SVG output includes styled grid lines, axis labels, and a title, with the chart drawn inside a margin-based layout.

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