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
Ffouzanuddin
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows yearly car sales as a smooth area chart, with time on the x-axis and sales volume on the y-axis, including labeled axes and a title. The chart is rendered as an SVG using D3 v5, leveraging the `area` generator with a basis curve to create the filled shape. Data is loaded from a CSV file via `csv()`, with scales (`scaleTime`, `scaleLinear`) and axes (`axisBottom`, `axisLeft`) applied to map the values and draw the grid lines and labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed