ibcs-react
Components

SmallMultiples

IBCS small multiples (template C13) - a grid of the same chart repeated by a dimension, all panels sharing ONE scale (the CHECK rule).

Two components: MiniVarianceMultiples, a ready-made grid of mini variance panels (one per group), and the generic SmallMultiples, which renders any chart per item and hands each panel the shared scale.

When to use

Structure / comparison across many groups - regions, products, business units - where one big chart would be cluttered. Shared scaling keeps panels honestly comparable.

Example

EMEA+300KQ1+400KQ2+400KQ3
Americas-200KQ1-300KQ2+300KQ3
APAC+400KQ1+500KQ2+500KQ3
Variance versus PY - data table
ACPYΔPY
EMEA - Q13.1M2.8M+300K
EMEA - Q23.4M3M+400K
EMEA - Q33.6M3.2M+400K
Americas - Q14.2M4.4M-200K
Americas - Q24M4.3M-300K
Americas - Q34.5M4.2M+300K
APAC - Q11.4M1M+400K
APAC - Q21.7M1.2M+500K
APAC - Q32M1.5M+500K
import { MiniVarianceMultiples, SmallMultiples } from "ibcs-react";

// Built-in: one mini ΔPY panel per group, shared scale
<MiniVarianceMultiples groups={byRegion} comparison="PY" columns={3} />

// Generic: render any chart per item with a shared scale
<SmallMultiples
  items={regions}
  valuesOf={(r) => r.points.flatMap((p) => [p.AC, p.PY])}
  renderItem={(r, scale) => <TrendChart data={r.points} /* map scale -> axis */ />}
/>

valuesOf is what makes the grid honest: every number a panel contributes goes into one shared domain, so a bar in one panel means the same as a bar in the next. sharedScale on MiniVarianceMultiples additionally rounds that domain to a nice symmetric bound (and, via showScaleHint, states it once as a caption above the grid); clampPercentile stops one extreme group flattening the others.

Props

MiniVarianceMultiples

Prop

Type

SmallMultiples

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