π Public
Viewing a saved revision (read-only)
b6370d198ffc489eb0ec0a4504390f0e
Fork of Line Chart
This line chart displays US auto sales from 2005 to 2022, plotting units sold over time. It uses d3.scaleTime, d3.scaleLinear, d3.axisBottom, and d3.axisLeft to render the axes, while d3.line generates the red path. Data loads from a CSV via d3.csv, with dates parsed as Date objects. The visualization appends SVG elements for the title, axes, and line, using margins and tick marks with grid lines for readability.
AI-generated description