Fork of Line Chart
✓ Published1🌍 Public
This fork of a line chart visualizes US auto sales from 2005 to 2022, plotting annual sales figures against time. The chart uses D3 v5’s `scaleTime` and `scaleLinear` to map the date and sales data, with `axisBottom` and `axisLeft` generating the labeled axes. A red path, created with the `line` generator, traces the sales trend. The code loads CSV data from a GitHub gist and renders the visualization as an SVG, with styling controlled by external CSS.
AI-generated descriptionMIT Licensed