Skip to main content
100%

Temperature in SF Line Chart with D3.js!

✓ Published2🌍 Public
Fforcox43
Last edited Jul 12, 2020
Created on Jul 12, 2020

This area chart visualizes one week of temperatures in San Francisco, using a smooth curve to show temperature changes over time. The data comes from Data Canvas - Sense Your City, with timestamps and Celsius readings plotted on time and linear scales. The code uses d3.area, d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.curveBasis to generate the SVG path and axes, with a maroon fill for the area and styled tick labels.

AI-generated description

This area line chart shows data on one week of temperatures in degress Celcius in San Francisco. The data comes from Data Canvsas - Sense Your City.

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes