🌍 Public
Viewing a saved revision (read-only)
5634024614f04f27a6c62997707d2a4d
Fork of Line Chart
This fork of a D3 line chart visualizes annual US auto sales from 2005 to 2022. The SVG chart plots sales values against time, with a red line connecting yearly data points and labeled axes for Year and Sales. Using d3.csv, the code loads data from a GitHub gist, then applies d3.scaleTime and d3.scaleLinear for scales, d3.axisBottom and d3.axisLeft for axes, and d3.line to generate the path. The chart includes grid lines, axis labels, and a title.
AI-generated description