Skip to main content
Public

Share visualization

Loading preview…

vehicels sale in USA Line Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

vehicels sale in USA Line Chart

0
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