Skip to main content
100%

Temprature in San Francisco Line Chart

✓ Published2🌍 Public
KKazushige Okuma
Last edited Sep 30, 2019
Created on Sep 22, 2019

This line chart visualizes one week of hourly temperature measurements in San Francisco, with a smooth curve showing temperature fluctuations over time and labeled axes for "Time" and "Temperature." The visualization uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to generate the smooth path. Data is loaded asynchronously from a CSV file using `d3.csv`, parsed with timestamps converted to Date objects, and rendered as SVG elements with styled grid lines and a title. The chart includes custom tick styling and axis labels, with the temperature line drawn in maroon against a clean white background.

AI-generated description

This Line Chart shows one week of temprature in San Francisco city. Data comes from [Data Canvas- Sense your city] https://archive.ics.uci.edu/ml/datasets/auto+mpg

MIT Licensed

Similar vizzes