Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
JJenny
Last edited Jul 10, 2019
Created on Jul 10, 2019

This line chart visualizes a week of temperature readings in San Francisco, with time on the x-axis and temperature on the y-axis. The data is loaded from a CSV file via `d3.csv` and rendered as a smooth, filled area chart using `d3.area` with `curveBasis`. Axes are generated with `axisLeft` and `axisBottom`, while `scaleTime` and `scaleLinear` map the data to SVG coordinates. The chart includes labeled axes, gridlines via tick sizes, and a title, all styled with custom CSS.

AI-generated description

The data comes from UCI Machine Learning Reposity.

MIT Licensed

Similar vizzes