Fork of Line Chart
✓ Published1🌍 Public
This line chart visualizes US automotive sales from 2005 to 2022, displaying annual sales figures over time. The chart uses D3 v5’s `scaleTime` for the x-axis, `scaleLinear` for the y-axis, and a `line` generator to render the SVG path. Axes are drawn with `axisBottom` and `axisLeft`, while gridlines are created via tick sizing. Data is loaded as CSV from a GitHub gist, with sales values parsed as numbers and years as Date objects.
AI-generated descriptionMIT Licensed