Skip to main content
100%

Fork of Line Chart

✓ Published4🌍 Public
SSreejaBellamkonda
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This line chart displays US auto sales from 2005 to 2022, with years on the x-axis and sales figures on the y-axis. Using D3 v5, the code loads CSV data from a GitHub gist, parses the Year and Sales fields, and renders an SVG with d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.line. Axes include tick marks, labels, and a title. The line path appears in red with a 4-pixel stroke, while grid lines and a rotated y-axis label enhance readability.

AI-generated description
MIT Licensed

Similar vizzes