Skip to main content
100%

SalesData_AreaChart

✓ Published1🌍 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
MIT Licensed

Similar vizzes