Search code examples
rggplot2data-visualizationbar-chartsankey-diagram

Ribbon chart in R


I search in R implementation (may be html widget on java script) a stacked bar chart in ribbon style, which allows you to see the rating change for each category in the dynamics.

It's look like ribbon chart in power bi desktop enter image description here

Search rseek.org gave no results.


Solution

  • You may find your answers with ggalluvial package.

    https://cran.r-project.org/web/packages/ggalluvial/vignettes/ggalluvial.html

    Alluvial Chart with Stratum (image qouted from above link)