🌍 Public
Viewing a saved revision (read-only)
8ed37b8678024cb18c14b3edfaf34a5b
Fork of Fork of line chart section 3
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 description