This is my tibble with emojis. Column name
contains emojis and text.
# # A tibble: 4 x 2
# name number
# <chr> <dbl>
#1 . 63150.
#2 1289.
#3 & 1387.
#4 5055.
When I try to plot
it, it looks like this:
library(dplyr)
library(ggplot2)
df %>%
ggplot(aes(name, number))+
geom_bar(stat = 'identity')+
coord_flip()
Why the emojis don't plot correctly?