Skip to main content
100%

LineChart

✓ Published1🌍 Public
AAkrutiKhurana2103
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. The chart is rendered as an SVG using D3 v5, with data loaded from a CSV file via `d3.csv`. The code uses `scaleTime` and `scaleLinear` to map data to pixel coordinates, `axisBottom` and `axisLeft` for grid lines and ticks, and a `line` generator to draw the path. Axis labels and a title are added as text elements, with red stroke styling on the line path.

AI-generated description
MIT Licensed

Similar vizzes