Machine-readable page content
Canonical: https://semiotic.nteract.io/playground/stacked-area-chart
Stacked Area Chart Playground
Experiment with StackedAreaChart props in real time. Stacked area charts show how individual series contribute to a total over a continuous axis, making them excellent for revenue breakdowns, resource allocation, and composition trends. Toggle the normalize option to switch between absolute values and a 100% view.
Area
Generated Code
The link restores this exact configuration; the config is a portable ChartConfig artifact.
JSX
import { StackedAreaChart } from "semiotic" const data = [ { quarter: 1, amount: 120, product: "Software" }, { quarter: 1, amount: 80, product: "Hardware" }, { quarter: 1, amount: 40, product: "Services" }, // ...3 products across 8 quarters ] <StackedAreaChart data={data} />