ggalluvial: Alluvial Plots in 'ggplot2'

Alluvial plots use variable-width ribbons and stacked bar plots to represent multi-dimensional or repeated-measures data with categorical or ordinal variables; see Riehmann, Hanfler, and Froehlich (2005) <doi:10.1109/INFVIS.2005.1532152> and Rosvall and Bergstrom (2010) <doi:10.1371/journal.pone.0008694>. Alluvial plots are statistical graphics in the sense of Wilkinson (2006) <doi:10.1007/0-387-28695-0>; they share elements with Sankey diagrams and parallel sets plots but are uniquely determined from the data and a small set of parameters. This package extends Wickham's (2010) <doi:10.1198/jcgs.2009.07098> layered grammar of graphics to generate alluvial plots from tidy data.

Version: 0.12.5
Depends: R (≥ 3.6), ggplot2 (≥ 2.2)
Imports: stats, dplyr (≥ 0.7), tidyr (≥ 0.7), lazyeval, rlang, tidyselect
Suggests: grid, alluvial, testthat, knitr, rmarkdown, babynames, sessioninfo, ggrepel, shiny (≥, htmltools, sp (≥ 1.4-0), ggfittext (≥ 0.6), vdiffr (≥ 0.2)
Published: 2023-02-22
DOI: 10.32614/CRAN.package.ggalluvial
Author: Jason Cory Brunson [aut, cre], Quentin D. Read [aut]
Maintainer: Jason Cory Brunson <cornelioid at>
License: GPL-3
NeedsCompilation: no
Citation: ggalluvial citation info
Materials: README NEWS
CRAN checks: ggalluvial results


Reference manual: ggalluvial.pdf
Vignettes: alluvial plots in ggplot2
labeling small strata
order of rectangles
ggalluvial in Shiny apps


Package source: ggalluvial_0.12.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ggalluvial_0.12.5.tgz, r-oldrel (arm64): ggalluvial_0.12.5.tgz, r-release (x86_64): ggalluvial_0.12.5.tgz, r-oldrel (x86_64): ggalluvial_0.12.5.tgz
Old sources: ggalluvial archive

Reverse dependencies:

Reverse depends: multiWGCNA
Reverse imports: bandle, easyalluvial, ethnobotanyR, immunarch, iotarelr, MultiRNAflow, MutationalPatterns, projectR, scRepertoire, standR, vvshiny
Reverse suggests: ISAnalytics, longmixr, MicrobiotaProcess, MiscMetabar, nuts, pcutils, plotly, profiplots, SCpubr, sigminer


Please use the canonical form to link to this page.