Skip to main content
Public

Share visualization

Loading preview…

Line Chart for Car sales

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

Line Chart for Car sales

0
Sshiiva-surya
Last edited Mar 24, 2023
Created on Mar 24, 2023

This line chart shows total car sales in USD from 2013 to 2021, with a red line drawn across a grid. The visualization loads CSV data from a GitHub gist, parsing dates and sales values, and uses d3.scaleTime and d3.scaleLinear for the axes, d3.axisBottom and d3.axisLeft for ticks, and d3.line to generate the path. The SVG is rendered with D3 v5, and axes include rotated labels and a title inside an HTML page.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed