2
asia %>% filter(region %in% c("Western Asia and Middle East","Central Asia","East Asia")) %>%
group_by(Country) %>%
ggplot(aes(x = Country, y = FertRate, col = Country)) +
geom_point() +
geom_segment(aes(x=Country, xend = Country, y = 0,yend = FertRate )) +
theme(axis.text.x = element_text(angle = 90, hjust = 1)) +
(~ region)
Please edit the question to limit it to a specific problem with sufficient detail to identify an appropriate answer.
–
Try adding the arguments
scales = "free"
andspace = "free"
within the facet_grid() command, this will make the scale variable.– Vinícius Félix