US Annual Auto Sales
✓ Published0🌍 Public
This chart shows US annual auto sales over time, with a line/area plot tracing the sales trend by year. The visualization uses D3 version 5’s `scaleTime` and `scaleLinear` for the axes, with a filled light-blue area beneath the line via the `area` generator. The code reads CSV data from a GitHub gist, parses the Year and Sales columns, and renders the chart as scalable vector graphics (SVG). Axis labels and a title are added using D3’s text elements, while the grid lines come from the `axisLeft` and `axisBottom` functions with negative tick sizes.
AI-generated descriptionMIT Licensed