Area
Stacked Area Chart
Multiple area series stacked on top of each other to show cumulative totals over time.
Loading chart…
#area#stacked#cumulative#total
When to use a Stacked Area Chart
A Stacked Area Chart is ideal for developers and designers who need to display data clearly and effectively. Use this chart type when:
- ✓Showing volume trends over time (e.g. cumulative revenue)
- ✓Comparing two or more metrics with stacked areas
- ✓Highlighting the magnitude of change, not just direction
- ✓Displaying website traffic patterns over weeks or months
Tips for Recharts Stacked Area Chart
TIP 1Use gradient fills (linearGradient) to reduce visual weight at the bottom
TIP 2Stacked areas work well for showing cumulative totals
TIP 3Set fillOpacity between 0.2–0.4 to keep the chart readable
TIP 4Combine with a Line component on top for a cleaner stroke
TIP 5Use syncId to sync multiple area charts that share the same X axis
Key Recharts Props