rearrange and rename x axis columns in ggplot bar chart?


How can I rearrange and rename x axis weekday columns from Chinese to English and from Monday to Sunday?

Hi, you can make day_of_week a factor variable and define the levels. Then put that in to the ggplot. Something like this:

Order graph x axis barplot - General - Posit Forum (rstudio.com)

Otherwise, next time please provide a reproducible example.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.