Skip to content

Stacked bar

The plot shows repartition of a metric across two dimensions in absolute value or as % of total at a given point in time. It is inspired by the stacked bar chart IBCS template.

stacked_bar_small_multiples

Categories are sorted by decreasing total metric value with "other rank > x" on the bottom of the plot.

The plot is run also as small multiples. Just choose the dimension to plot as small multiples.

ONE DIMENSION BAR PLOT

If only one dimension is selected, the app with return a simple (not stacked) bar plot.

bar

SMALL MULTIPLES PLOT

The plot is run also as small multiples. Just choose the dimension to plot as small multiples.

The items of the first selected dimension will be plotted against the other selected dimension.

By default the subplots will show the top items calculated at the global level, and therefore the items will be identical for each sub plot. You can change this with a widget

NORMALIZED STACKED PLOT

Values can be plotted in absolute value, as a % of total dataset, as a % of total dataset after filters, or as a % of the result row. The last two options only make sense if you plot a result row.

normalized_stacked_bar

NEGATIVE VALUES

Negative values - for instance negative margins - will be plotted correctly. However you might need to adjust the label positions by hand.