Skip to main content
Public

Share visualization

Loading preview…

-area

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

0
Ssridhardubala106@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This D3.js area chart visualizes car sales data from 2019 to 2021, grouped by car type, with three semi-transparent filled areas representing each year's sales figures. The chart uses the d3.area component with monotone curve interpolation to render smooth area paths, while d3.scaleBand and d3.scaleLinear handle x- and y-axis positioning. Data loads from a text file via d3.text, which is parsed and transformed into the chart's structure. A legend with colored rectangles identifies the three years, and all elements render as SVG within an 800×400 viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed