Code
library(ggforce)
data("starwars")
starwars %>%
filter(species %in% c("Human", "Droid", "Kaminoan", "Wookiee")) %>%
ggplot(aes(x = height, y = mass, color = species)) +
ggforce::facet_zoom(x = species == "Human") +
geom_point() +
labs(x = "Height", y = "Mass") +
theme_bw() +
theme(text = element_text(size = 16))







