Stacked Area Chart
Layer multiple area series to show both overall totals and individual contributions over time.
Source
LLM docs
Package
npm install @plocks/chartsExamples
1
Properties
77
Playground
Basics
Area chart with multiple series stacked to show cumulative contributions.
Loading demo…
import { StackedAreaChart } from '@plocks/charts';
import { SERIES } from './data';
export function Demo() {
return (
<StackedAreaChart
title="Active users by surface"
subtitle="Monthly totals"
h={340}
series={SERIES}
stackOrder="normal"
opacity={0.65}
xAxis={{ show: true, title: 'Month', labelFormatter: (value) => `M${value}` }}
yAxis={{
show: true,
title: 'Active users (thousands)',
labelFormatter: (value) => `${value}`,
}}
grid={{ show: true }}
legend={{ show: true, position: 'bottom' }}
enableCrosshair
multiTooltip
liveTooltip
/>
);
}Related charts
Further reading
React Native design for iOS, Android, and Web.
Quick Links
Resources