Categorical Data in the Tidyverse
Emily Robinson
Data Scientist
ggplot(WorkChallenges, aes(x = fct_reorder(question, perc_problem),
y = perc_problem)) +
geom_point() +
coord_flip()
ggplot(multiple_choice_responses, aes(x = fct_infreq(CurrentJobTitleSelect)) +
geom_bar() +
coord_flip()
ggplot(multiple_choice_responses, aes(x = fct_rev(fct_infreq(CurrentJobTitleSelect)))) +
geom_bar() +
coord_flip()
Categorical Data in the Tidyverse