What a mosaic plot shows
A mosaic plot visualizes the relationship between two categorical variables. Each bar represents one category of the first variable, and segments within the bar show the counts (or proportions) of the second variable.
When segment proportions differ across bars, it suggests a possible association between the variables. If all bars have the same internal proportions, the variables are likely independent.
This tool shows a stacked bar chart (the practical modern form of a mosaic plot) and the full contingency table for reference.