What sort of graph would you use to frequencies of 2 categorical variables?
For example, with the data below
cat1 <- c("M", "M", "M", "F", "F", "F")
cat2 <- c("D", "I", "R", "D", "I", "R")
n <- c(200, 150, 50, 250, 300, 50)
(data <- tibble(cat1, cat2, n))