Component accounting

Bar chart example: signed component changes

Inspect positive and negative contributions in signed stacked bars. Separate stack endpoints from net change using the exact segment table.

Open this example in the editorStart from scratch

Component AComponent BComponent CComponent D-10-50510Phase 1Phase 2Phase 3CategoryValue
Four illustrative signed components stack separately on either side of zero. Illustrative data.

About this example

Positive components accumulate above zero while negative components accumulate below it. In Phase 1 the visible endpoints are 5 and −5, even though the net total of all four components is zero.

These stacks show contributions rather than a percentage composition. Open the segment table to inspect the supplied values and cumulative boundaries; a stack endpoint should not be reported as the net change.

The data

CategoryComponent AComponent BComponent CComponent D
Phase 1-2-341
Phase 23-12-2
Phase 3120-1

These are supplied category values, not raw observations to aggregate. No uncertainty or significance is calculated. Open the example, replace the data with your own, and export the figure as SVG, PDF, PNG or TIFF.

More examples