ibcs-react
Components

IntegratedVarianceChart

Δ% pins, Δ absolute bars and AC columns stacked on one shared time axis.

The signature integrated variance column chart: three tiers over one time axis

  • relative deviation as pins on top, absolute deviation as bars in the middle, and the AC columns with the comparison overlaid at the bottom. Forecast periods are hatched, and an optional full-year total column is set apart on the right.

When to use

A monthly actual-vs-plan (or vs previous year) story where you want the values, the absolute deviation and the relative deviation read together - with a hatched forecast tail and an optional full-year total.

Example

Contribution margin - AC vs PY+11.3%+9.7%-3.5%-3.5%+5.6%+15.6%+16.3%+15.2%+2.9%-2.7%-6.0%+15.3%+13+13-5-5+9+26+25+25+5-5-12+281281471361391701931781891781791892111.5K5782K2,036JanFebMarAprMayJunJulAugSepOctNovDec
Contribution margin - AC vs PY - data table
ACPYΔPYΔPY%
Jan128115+13+11.3%
Feb147134+13+9.7%
Mar136141-5-3.5%
Apr139144-5-3.5%
May170161+9+5.6%
Jun193167+26+15.6%
Jul178153+25+16.3%
Aug189164+25+15.2%
Sep178173+5+2.9%
Oct (FC)179184-5-2.7%
Nov (FC)189201-12-6.0%
Dec (FC)211183+28+15.3%
2,0362Kn/an/an/a
import { IntegratedVarianceChart } from "ibcs-react";

<IntegratedVarianceChart
  title="Contribution margin - AC vs PY"
  comparison="PY" // or "PL" (plan renders as a hollow frame)
  data={[
    { category: "Jan", AC: 128, PY: 115 },
    { category: "Feb", AC: 147, PY: 134 },
    // … forecast months carry isForecast: true -> hatched
    { category: "Dec", AC: 211, PY: 183, isForecast: true },
  ]}
  fyTotal={{
    label: "2,036",
    segments: [
      { label: "AC", value: 1458 },
      { label: "FC", value: 578 },
    ],
  }}
/>;

Either deviation tier can be dropped (showPctPanel, showAbsPanel) when only one of them carries the message. For a cost or expense measure set higherIsBetter={false} so a rise reads as unfavorable.

Use GroupedVarianceChart instead when the comparison should stand beside AC rather than behind it.

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