Happy (Geeky!) December!

I read a blog this morning introducing a new R package that allows users to include emojis into their ggplot2 plots. As it is the 1st of December, I thought I would try this new package out with a winter-themed plot. Enjoy!

snowman

R Code

library(ggplot2)
library(emoGG)
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
geom_emoji(emoji = "2744") + add_emoji(emoji = "26c4")
view raw snowman.R hosted with ❤ by GitHub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s