Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart Of Auto Sales

Public visualization

Area Chart Of Auto Sales

0 stars0🌍 Public
TTharun Reddy
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Hello VizHub

This area chart shows auto sales from 2005 to 2022, with the year on the x-axis and sales figures on the y-axis. The visualization uses smoothed lines and a green filled area beneath the curve to emphasize the trend over time. Built with D3 v5, the code imports and uses `scaleLinear`, `line`, `area`, `curveBasis`, `axisLeft`, and `axisBottom` to construct the chart. Data is loaded asynchronously from a CSV file hosted on GitHub, and the SVG rendering is configured with margins, axis labels, and tick formatting.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed