holtzy / data_to_viz

Leading to the dataviz you need
https://www.data-to-viz.com/
MIT License
970 stars 278 forks source link

missing: idea of 2-, 3- n-way frequency tables, mosaic plots #72

Open friendly opened 2 years ago

friendly commented 2 years ago

You need to strongly consider adding a category for cross-classified frequency tables, often most usefully displayed in mosaic plots, marimekko charts etc.

library(vcd) data(HairEyeColor) mosaic(~Hair + Eye, data=HairEyeColor, shade=TRUE)