Two Categorical Variables

Try a bar plot.

ggplot(penguins, aes(x = island, fill = species)) +
  geom_bar()

To get proportions, set position argument to “fill”

ggplot(penguins, aes(x = island, fill = species)) +
  geom_bar(position = "fill")