EXAMPLE 9.6

Mosaic plot for vaccination opinions and political party preference. Figure 9.3 displays the joint distribution and the two marginal distributions in a single plot, called a mosaic plot. The sizes of the four rectangles are proportional to the four probabilities of the joint distribution. The bar at the right side gives the marginal distribution of the required variable while the widths of the vertical bars give the marginal distribution of the variable party.

image
FIGURE 9.3 Mosaic plot for the vaccinations and political party data, Example 9.6.

mosaic plot, p. 143