Hi everyone.
I just started the R intermediate data visualization project about Museums and Nature Centers (https://www.codecademy.com/paths/analyze-data-with-r/tracks/data-visualization-in-r-skill-path/modules/intermediate-data-visualization-with-ggplot-2/projects/data-visualization-in-r-museums), and I´m struggling at the 4th step. It is supposed that I use scale_x_discrete(scale::wrap_format(8)) to make it easier to read the labels, but it is just not working. Do you know what am I’m doing wrongly? Cuz the code doesn’t even throws any output.
Thanks for your time
3th step
museum_type <-
ggplot(museums_df, aes(x = Museum.Type)) +
geom_bar()
museum_type
4th step
museum_type2 <-
ggplot(museums_df, aes(x = Museum.Type)) +
geom_bar() +
scale_x_discrete(labels::wrap_format(8))
museum_type2