Online Program

Return to main conference page
Friday, October 20
Fri, Oct 20, 2:30 PM - 3:45 PM
Aventine Ballroom E
Speed Session 4

Mosaic Plots in the 'Ggplot2' Framework (303932)

Heike Hofmann, Iowa State University 
*Haley Jeppson, Iowa State University 

Keywords: statistical graphics

The options of graphical methods for categorical variables are not well developed in comparison to what is available for numeric variables. One method of visualizing multidimensional data is through a mosaic plot. Mosaic plots can be an easy and powerful option for identifying relationships between multiple variables. However, while mosaic plots have been implemented in a variety of packages, the ordinary grammar of graphics does not support mosaic plots. With the R package ggmosaic, a custom ggplot2 geom designed for mosaic plots is implemented. Equipped with the flexibility and functionality of ggplot2, ggmosaic creates plots that can be converted into interactive plotly graphs. In this presentation, there will be a brief overview of the implementation and examples that highlight the versatility and ease of use of ggmosaic while demonstrating the practicality of mosaic plots.