Skip to main content
Public

Share visualization

Loading preview…

area 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

area chart

0
Nnagarjuna1968
Last edited Mar 28, 2022
Created on Mar 28, 2022

This area chart visualizes car sales over time, using a yellow filled region beneath a smooth line to emphasize the trend up to 2009. The code employs D3 v5’s `area` and `line` generators with `curveBasis` for smoothing, scaling time and linear axes via `scaleTime` and `scaleLinear`. Data is loaded from a CSV using `d3.csv`, with dates parsed via `timeParse`. SVG output includes styled grid lines, axis labels, and a title.

AI-generated description

combined line and area charts

Comments

Sign in to join the discussion.

MIT Licensed