Skip to main content
100%

Temperature in San Francisco Area Chart

✓ Published1🌍 Public
KKaleb LaBarrie
Last edited Sep 19, 2021
Created on Sep 19, 2021

This area chart visualizes one week of temperature data in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The chart uses a smooth curve (via `d3.curveBasis`) to fill the area beneath the temperature line, and includes labeled axes with gridlines. Built with D3 v7, the code loads CSV data from a URL, parses timestamps and numeric values, and renders the visualization as SVG using `d3.area`, `d3.scaleTime`, and `d3.scaleLinear`. The chart’s title and axis labels are styled with custom CSS.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco.

MIT Licensed

Similar vizzes