Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SalesData_AreaChart

Public visualization

Viewing a saved revision (read-only)

3e4b714119a940848f0ef0e301d2e685

SalesData_AreaChart

0 stars1🌍 Public
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