🌍 Public
Viewing a saved revision (read-only)
d4cb3275d1d54e0e9f96250980ab577a
Fork of Line Chart
A line chart displays annual US auto sales from 2005 to 2022, with a red path over time and labeled axes for Year and Sales. Built with D3 v5, it uses `d3.scaleTime` and `d3.scaleLinear` for scales, `d3.axisBottom` and `d3.axisLeft` for ticks, and `d3.line` for the path. Data is loaded via `d3.csv` from a GitHub gist, parsed into dates and numbers, and rendered as SVG inside a 960×500 viewport with margins, gridlines, and a title.
AI-generated description