Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

vehicels sale in USA Line Chart

Public visualization

vehicels sale in USA Line Chart

0 stars0🌍 Public
Yyaswanthsen
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from Line Chart

This line chart displays vehicle sales in the USA from 2005 to 2022, with years on the x-axis and sales figures on the y-axis. The visualization uses D3 v5 with an SVG rendering approach, employing `scaleTime` and `scaleLinear` for the axes, and a `line` generator to plot the data. The code loads CSV data from a GitHub gist and formats the year as a date object before drawing. The chart includes axis labels, a title, and an orange line path, with grid lines styled via `tickSize` properties.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed