Skip to main content
100%

Fork of A Week in San Francisco Line Chart

✓ Published0🌍 Public
Aayodhyanandh
Last edited Mar 24, 2023
Created on Mar 24, 2023

This example shows a line chart of San Francisco temperatures over a week, with a smoothed curve and labeled axes for time and temperature. The chart uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render an SVG path. Data is loaded from a CSV via `d3.csv`, and margins, tick marks, and an axis label are added through SVG groups and text elements.

AI-generated description

D3 course follow along.

MIT Licensed

Similar vizzes