Fork of Fork of line chart section 3
✓ Published0🌍 Public
This visualization displays car sales data from 2013 to 2021 as a red line chart, with years on the x-axis and total sales on the y-axis. The chart uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render an SVG. Data is loaded from a CSV file hosted on GitHub, parsed with `csv`, and formatted by converting sales values to numbers and extracting years. Gridlines are drawn via tick sizes, and both axes include custom labels.
AI-generated descriptionMIT Licensed