🌍 Public
Viewing a saved revision (read-only)
63b64d8fad3d49569d73326ae18ca2b2
Fork by
This example presents a line chart of auto sales from 2004 to 2012, using D3 v5 to render SVG. It shows sales values over time, with a time-scaled x-axis for the year and a linear y-axis for sales. The code explicitly creates axis labels, tick lines, and a title within the SVG. Data is loaded asynchronously from a provided CSV file via `d3.csv`, then parsed and drawn using a `d3.line` generator applied to scale functions.
AI-generated description