Geoms to make joy plots using ggplot2, written by Claus O. Wilke
library(devtools)
install_github("clauswilke/ggjoy")
library(ggplot2)
library(ggjoy)
ggplot(diamonds, aes(x=price, y=cut, group=cut, height=..density..)) +
geom_joy(scale=4) +
scale_y_discrete(expand=c(0.01, 0)) +
scale_x_continuous(expand=c(0, 0)) + theme_joy()