Data layer
# load data
data(CPS85 , package = "mosaicData")
The Data Layer specifies the data being plotted.
## wage educ race sex hispanic south married exper union age sector
## 1 9.0 10 W M NH NS Married 27 Not 43 const
## 2 5.5 12 W M NH NS Married 20 Not 38 sales
## 3 3.8 12 W F NH NS Single 4 Not 22 sales
ggplot2::ggplot(data = CPS85)