🌍 Public
Viewing a saved revision (read-only)
600bcbde13ec4bbfa90df8c6da62d1c3
myForkLine
This example displays a line chart of population values across different states, with time on the x-axis and population count on the y-axis. Using D3 v5, it loads CSV data from a GitHub gist via `d3.csv`, then renders an SVG with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators. The chart includes labeled axes, tick marks, and a red line path, with margins and formatting configured through D3’s selection and scale methods.
AI-generated description