Skip to main content
100%

Fork of Line Chart

✓ Published0🌍 Public
Aakhil kata
Last edited Jul 3, 2022
Created on Jul 3, 2022

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 description
MIT Licensed

Similar vizzes