A stacked bar chart is a graphical representation of data where, for each categorical group, there are two or more bars colored to represent a particular grouping. The value is represented by the length of the bar segment.
- matplotlib stacked bar
- pandas stacked bar
seaborn.barplot
doesn't support stacked bars, however they can be created with aseaborn.histplot
, as shown in this answer.- plotly stacked bar