Skip to main content
Public

Share visualization

Loading preview…

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 Line Chart

0
Sspandhanabadekol
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This fork of a line chart visualizes US auto sales from 2005 to 2022 using D3 v5, rendering as an SVG. The chart plots annual sales figures, sourced from a CSV file loaded via D3’s `d3.csv`, showing a red line path generated by `d3.line()`. It employs `d3.scaleTime()` for the year axis and `d3.scaleLinear()` for sales, with axes and labels created via `d3.axisBottom()` and `d3.axisLeft()`. The visualization includes a title and styled grid lines, all configured within a fixed 960x500 SVG canvas.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed