Skip to main content
100%

Line Chart

✓ Published0🌍 Public
SsreepavanKothapalli
Last edited Mar 30, 2023
Created on Mar 29, 2023
Forked from Fork of Line Chart

This line chart displays US auto sales from 2005 to 2022, with the year on the x-axis and sales on the y-axis. The visualization uses d3.scaleTime and d3.scaleLinear to map data, while d3.axisBottom and d3.axisLeft generate labeled axes with gridlines. A d3.line generator creates the red trend line, rendered as an SVG path. Data is loaded from a CSV file using d3.csv, with dates parsed via the Date constructor and sales values converted to numbers.

AI-generated description
MIT Licensed

Similar vizzes