ibcs-react
Components

StackedChart

The IBCS stacked column chart (template C01, over time) and stacked bar chart (C02, over a structure) - composition with category totals.

Series stack in the order you declare them, each category printing its total at the end of the stack. orientation="column" is the C01 time layout; orientation="bar" is the C02 structure layout.

When to use

Part-to-whole over time or across a structure - when one series dominates and the total matters. IBCS prefers small multiples when many series compete.

Example

23MQ126.1MQ227.5MQ330.1MQ4OtherServiceProduct
Stacked columns - data table
ProductServiceOtherTotal
Q112M8M3M23M
Q213.5M9.2M3.4M26.1M
Q314.1M9.8M3.6M27.5M
Q415.6M10.4M4.1M30.1M
import { StackedChart } from "ibcs-react";

<StackedChart
  data={[{ category: "Q1", values: { product: 12e6, service: 8e6 } } /* … */]}
  series={[
    { key: "product", label: "Product" },
    { key: "service", label: "Service" },
  ]}
  orientation="column" // "bar" for C02 structure
/>;

Only one series can carry the story: highlight="product" emphasises that segment and greys the rest. If several series compete for attention, split the chart into small multiples instead.

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