The ggjoy package has been deprecated. Please switch over to ggridges. To port from ggjoy to ggridges, make the following substitutions in your code:
|ggjoy function | ggridges function|
|:---|:---|
|geom_joy
|geom_density_ridges
|
|geom_joy2
|geom_density_ridges2
|
|geom_joy_gradient
|geom_density_ridges_gradient
|
|stat_joy
|stat_density_ridges
|
|theme_joy
|theme_ridges
|
All other ggjoy functions (e.g., geom_ridgeline
) exist under the same name in the ggridges package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.