ibcs-react
Components

WaterfallChart

The IBCS vertical waterfall chart (template C12) - a standalone add / subtract / result bridge moving a running total from start to end.

Contributions float above a running total; result rows drop to a full zero-based bar. Subtractions carry higherIsBetter: false, so a cost increase reads as unfavorable in the variance panel.

When to use

Variance contribution / bridge - explain how a total got from A to B (e.g. revenue → costs → operating income), as a chart rather than a table.

Example

+589.5M-238.6M350.9M-178.7M172.2M-98.6M73.6M+13.5M87.1M87.1MTotal…Cost of s…Gross pro…Operating…EBITDADepreciat…EBITFinancial…Profit be…Net income
Bridge of actual contributions - data table
ContributionRunning total
Total revenue+589.5M589.5M
Cost of sales-238.6M350.9M
Gross profit350.9M350.9M
Operating expenses-178.7M172.2M
EBITDA172.2M172.2M
Depreciation & amortization-98.6M73.6M
EBIT73.6M73.6M
Financial result+13.5M87.1M
Profit before tax87.1M87.1M
Net income87.1M87.1M
import { WaterfallChart } from "ibcs-react";

<WaterfallChart
  data={[
    { category: "Revenue", value: 30.1e6, flow: "add" },
    { category: "COGS", value: 9.7e6, flow: "subtract", higherIsBetter: false },
    { category: "Gross margin", value: 0, flow: "result" },
  ]}
  scenario="AC"
/>;

A result row needs no value - the component computes the running total. Pass comparisonData (the same categories for another scenario) to get a variance panel; mark decides whether those deviations draw as bars or pins.

For long line labels, lay the bridge on its side with HorizontalWaterfallChart; for a statement with embedded variance columns use StatementTable.

Props

Prop

Type

ibcs-react is an independent open-source library and is not affiliated with, certified by, or endorsed by the IBCS Association or ISO. It follows the IBCS® notation rules (the basis of ISO 24896); IBCS® is a registered trademark of the IBCS Association.

On this page