Maybe you need something like that:
library(dplyr)
library(forecast)
videogames |> mutate(Sales=as.numeric(Sales)) |>
ggplot(aes(x =Sales , y = fct_reorder(Game,-Sales) ))+
geom_point()+
scale_y_discrete(limits = rev)
Maybe you need something like that:
library(dplyr)
library(forecast)
videogames |> mutate(Sales=as.numeric(Sales)) |>
ggplot(aes(x =Sales , y = fct_reorder(Game,-Sales) ))+
geom_point()+
scale_y_discrete(limits = rev)
This topic was automatically closed 21 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.