library(ggplot2)
library(ggforma)

ggmosaic(Admit ~ Gender | Dept, data = UCBAdmissions, shade = "hcl",
             labeling = "border", label = NULL) +
  labs(title = "Admission and gender within departments",
       subtitle = "Each panel shows a two-way conditional view")
