Grouped & Stacked Bars

Quarto (RevealJS) presentation & Plotly charts

dstsimokha

Plotly by default gives an opportunity to created grouped or stacked bar charts.

I needed both grouped & stacked bars simultaneously on one chart to depict both year and segments comparisons - in Plotly it can be achieved with usage of subplots and offset & offsetgroup.

Grouped & Stacked