Fork of LineChart
✓ Published1🌍 Public
This chart displays annual US auto sales from 2005 to 2022 as a red line over time. The code loads CSV data via d3.csv, scales the x-axis with d3.scaleTime and the y-axis with d3.scaleLinear, and renders the line using d3.line. Axis labels and gridlines are added with d3.axisBottom and d3.axisLeft, with a rotated y-axis label. The visualization uses SVG rendering within a fixed 960x500 viewport.
AI-generated descriptionMIT Licensed