Fork of Fork of Line Chart
This example shows US auto sales from 2005 to 2022 as a line chart, with the year on the x-axis and sales on the y-axis. It loads CSV data from a GitHub gist, then uses d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.line to render the SVG path. The chart includes labeled axes, gridlines via tickSize, and a red line path, with styling applied through external CSS.