Skip to main content
Public

Share visualization

Loading preview…

SalesData_AreaChart

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

SalesData_AreaChart

1
AALIMINETI SPOORTHY REDDY
Last edited Oct 24, 2025
Created on Oct 24, 2025
Forked from Clickable Circles

The stacked area chart displays website traffic sources—Organic Search, Direct, and Social Media—across months, with cumulative visitor counts visualized as colored regions. Areas are rendered by stacking Y values for each category using `d3.area` and `d3.stack` with custom x and y scales, while axes and labels are added via `d3.axisBottom` and `d3.axisLeft`. The visualization loads CSV data with `d3.csv`, applies an ordinal color scale, and includes a legend. The SVG output is styled with CSS, using a clean layout with margins for labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed