Line Chart
✓ Published0🌍 Public
This line chart shows US auto sales from 2005 to 2022, with the x-axis displaying years and the y-axis displaying sales figures. The data is loaded from a CSV file using d3.csv, then rendered as an SVG path generated by d3.line(). Axes are created with d3.axisBottom and d3.axisLeft, using d3.scaleTime and d3.scaleLinear for positioning. The chart includes axis labels and a title, with a green stroke styling the line path.
AI-generated descriptionMIT Licensed