Mosaic Plot

Area-true display of a contingency table — column width shows the marginal, segment height the conditional distribution.

Also known as: mosaic display, Marimekko chart

A mosaic plot displays the joint distribution of two categorical characteristics so that every area is proportional to the corresponding cell frequency of a contingency table. Unlike the stacked bar chart, whose columns are all equally wide, it encodes both margins geometrically.

  • Column width — proportional to the marginal frequency of the X category: wide means frequent, narrow means rare
  • Segment height — proportional to the conditional probability within that column
  • Area — width times height, hence proportional to the cell frequency

Hence its real strength: if the segment heights are equal across all columns, then — the characteristics are independent. The mosaic plot is thus a visual precursor to the chi-square test, and the column widths simultaneously show which category even has enough cases to support a claim.

See also

Used in

Sources

  • Hartigan, J. A. & Kleiner, B. — Mosaics for Contingency Tables, Computer Science and Statistics, 1981
  • Friendly, M. — Mosaic Displays for Multi-Way Contingency Tables, JASA 89 (425), 1994
  • Agresti, A. — Categorical Data Analysis, 3rd Edition, Wiley, 2013