Skip to main content
Public

Share visualization

Loading preview…

Fork of line chart section 3

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 section 3

0
KKishen Patel
Last edited Mar 29, 2022
Created on Mar 28, 2022

This line chart visualizes car sales totals from 2013 to 2021, using a single red path to show the trend over time. The x-axis represents years and the y-axis represents total sales, with both axes labeled clearly. The visualization uses D3 v5, specifically the `scaleTime` and `scaleLinear` functions for scaling, `axisLeft` and `axisBottom` for axis generation, and the `line` generator to create the path. Data is loaded from an external CSV file retrieved via `csv()` and rendered as an SVG element.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed