Fork of Line Chart
✓ Published0🌍 Public
This line chart tracks annual car sales in the United States from 2010 to 2019. Using D3 v5, the visualization employs `d3.scaleTime` for the x-axis and `d3.scaleLinear` for the y-axis, with a `d3.line` generator drawing the sales trend. The code loads CSV data from a GitHub gist, parses the year, and renders grid lines with styled tick marks. The SVG output includes labeled axes and a powder-blue line, demonstrating a clean, data-driven time-series comparison.
AI-generated descriptionMIT Licensed