Skip to main content
100%

A Week in San Francisco Line Chart

✓ Published3🌍 Public
Bbprokopowicz
Last edited Mar 26, 2020
Created on Mar 26, 2020

This line chart visualizes San Francisco temperatures over a week, plotting temperature against time with a smooth curved line. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `line`, and `curveBasis` to generate the SVG path, while `axisBottom` and `axisLeft` add labeled axes with gridlines. Data is loaded from a CSV file via `d3.csv`, with timestamps parsed as `Date` objects and temperatures as numbers. The chart includes a title, axis labels, and styled ticks and lines defined in external CSS.

AI-generated description

D3 course follow along.

MIT Licensed

Similar vizzes