ibcs-react
Components

BarVarianceWaterfallChart

IBCS C06 - ranked AC bars beside a vertical waterfall chart of the absolute variances (PY → AC).

Entities ranked by impact: their AC bars on one side, the bridge of their absolute deviations on the other, framed by the previous-year and plan totals, with a relative deviation tier.

When to use

Explain a total movement by entity: who drove the gap from previous year to actual, sorted by impact, as a bridge - with the plan and previous-year totals framing it.

Example

Net sales by state - Q3 (AC vs PY/PL)ΔPY%PL1.5KPY2.1KOthersOthers234+54+30.0%IowaIowa179+44+32.6%New YorkNew York216-14-6.1%TexasTexas134-15-10.1%CaliforniaCalifornia257-48-15.7%IllinoisIllinois169457-288-63.0%AC1.2K-18.3%-267-304
Net sales by state - Q3 (AC vs PY/PL) - data table
ACPYΔPYΔPY%
Others234180+54+30.0%
Iowa179135+44+32.6%
New York216230-14-6.1%
Texas134149-15-10.1%
California257305-48-15.7%
Illinois169457-288-63.0%
Total1.2K2.1K-267-18.3%
import { BarVarianceWaterfallChart } from "ibcs-react";

<BarVarianceWaterfallChart
  title="Net sales by state - Q3 (AC vs PY/PL)"
  pyTotal={2071}
  sortBy="variance"
  data={[
    { label: "Illinois", ac: 169, base: 430, py: 457 },
    { label: "California", ac: 257, base: 300, py: 305 },
    { label: "Others", ac: 234, base: 217, py: 180 },
  ]}
/>;

base is the plan value and py last year's; passing pyTotal switches the chart into the PY → AC bridge mode where the deviations must add up to the gap between the two totals. pctBase picks which of the two the relative tier measures against.

Sorting by variance is the point - it puts the entities that moved the total at the top. Collect the long tail into an "Others" row so the bridge stays readable.

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