Online Program Home
  My Program

Abstract Details

Activity Number: 587 - Recent Advances in Statistical Graphics
Type: Contributed
Date/Time: Wednesday, August 2, 2017 : 2:00 PM to 3:50 PM
Sponsor: Section on Statistical Graphics
Abstract #324660 View Presentation
Title: Using the Ggmosaic Package: Visualizing Opinions on Flying Etiquette
Author(s): Haley Jeppson*
Companies: Iowa State University
Keywords: graphics ; mosaic plots ; ggplot2 ; visualization

The data analysis blog FiveThirtyEight commissioned a poll in 2014 seeking insight on common aggravating behaviors on flights to judge the perceived level of rudeness of those actions. Using a new way to visualize categorical data in R with gglot2, I attempt to further examine the unspoken social contract we all encounter when we fly. Visualizing multidimensional data can often be difficult due to a subtle complexity that arises from the hierarchical structure of the counts and proportions that are important for understanding the multivariate discrete distributions. In addition, graphical methods for categorical data and mixtures of qualitative and quantitative data are not well developed in comparison to what is available for numeric variables. Mosaic plots provide one possibility of visualizing multidimensional data and can be a powerful and easy option. 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. In addition, ggmosaic creates plots that can be converted into interactive plotly graphs.

Authors who are presenting talks have a * after their name.

Back to the full JSM 2017 program

Copyright © American Statistical Association