Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of 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

Fork of Fork of Line Chart

0
AArv1228
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Fork of Line Chart

This line chart visualizes annual U.S. automotive sales from 2005 to 2022, with year on the x-axis and sales volume on the y-axis. The chart is rendered as an SVG using D3 v5, with the `d3.line` generator creating the red path and `d3.scaleTime` and `d3.scaleLinear` mapping the data coordinates. Grid lines and axis labels are added via `d3.axisBottom` and `d3.axisLeft`. The data is loaded from external CSV files using `d3.csv`, with the main dataset fetched from a GitHub gist.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed