π Public
Viewing a saved revision (read-only)
be6eaf1f78384110814ad9fc0711eb04
Fork of Line chart For Car Sales
This example shows the evolution of car sales from 2013 to 2021 as a red line chart, with a time-scaled x-axis for years and a linear y-axis for sales figures. It uses d3.csv to load external data, d3.scaleTime and d3.scaleLinear for axes, and d3.line to generate the path. The SVG rendering includes grid lines and rotated axis labels, with data parsed via d3.timeParse.
AI-generated description