geom_bar display empty plot


Hi, I am using ggplot2 to make frequency plot and the case of my data is around 4000. But it comes to a problem that the resulted plot is empty, only with x and y scale. i used this code to plot the 'mpg' data inside of rstudio, it works!The code i used is ggplot(data) + geom_bar(mapping=aes(de), na.rm = TRUE),
i do not know what the problem would be?Can anyone helps?



We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

1 Like

closed #3

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.