ibcs-react
Components

HorizontalWaterfallChart

The IBCS horizontal waterfall chart (template C05) - categories run top-to-bottom, contributions float left-to-right.

The same bridge as WaterfallChart, turned on its side: each step gets a full-width label, and a parallel comparison bridge adds a row-aligned variance panel on the right.

When to use

A P&L / driver bridge where the line labels are long - laying the waterfall on its side gives each step a full-width label, unlike the vertical WaterfallChart. Add comparisonData for a row-aligned variance panel.

Example

P&L bridge - AC vs PY+1.2K-540660-280380RevenueCost of salesGross marginOperating expensesOperating income+100+80+100
P&L bridge - AC vs PY - data table
ContributionRunning totalΔ vs comparison
Revenue+1.2K1.2K+100
Cost of sales-540660+80
Gross margin660660+80
Operating expenses-280380+100
Operating income380380+100
import { HorizontalWaterfallChart } from "ibcs-react";

<HorizontalWaterfallChart
  title="P&L bridge - AC vs PY"
  data={[
    { category: "Revenue", value: 1200, flow: "add" },
    { category: "Cost of sales", value: 540, flow: "subtract", higherIsBetter: false },
    { category: "Gross margin", value: 0, flow: "result" },
    { category: "Operating expenses", value: 280, flow: "subtract", higherIsBetter: false },
    { category: "Operating income", value: 0, flow: "result" },
  ]}
  comparisonData={py} // same categories, another scenario -> variance panel
/>;

comparisonData must carry the same categories in the same order - the variance panel aligns row by row. mark="pin" draws those deviations as pins instead of bars, which keeps small lines readable next to large ones.

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