Package: ggalluvial 0.12.6
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.
Authors:
ggalluvial_0.12.6.tar.gz
ggalluvial_0.12.6.zip(r-4.7)ggalluvial_0.12.6.zip(r-4.6)ggalluvial_0.12.6.zip(r-4.5)
ggalluvial_0.12.6.tgz(r-4.6-any)ggalluvial_0.12.6.tgz(r-4.5-any)
ggalluvial_0.12.6.tar.gz(r-4.7-any)ggalluvial_0.12.6.tar.gz(r-4.6-any)
ggalluvial_0.12.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ggalluvial/json (API)
NEWS
| # Install 'ggalluvial' in R: |
| install.packages('ggalluvial', repos = c('https://corybrunson.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/corybrunson/ggalluvial/issues
Pkgdown/docs site:https://corybrunson.github.io
- majors - Students' declared majors across several semesters
- vaccinations - Influenza vaccination survey responses
alluvial-diagramsalluvial-plotscategorical-data-visualizationggplot2repeated-measures-data
Last updated from:285f7346ea. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 168 | ||
| source / vignettes | OK | 227 | ||
| linux-release-x86_64 | OK | 197 | ||
| macos-release-arm64 | OK | 196 | ||
| macos-oldrel-arm64 | OK | 135 | ||
| windows-devel | OK | 109 | ||
| windows-release | OK | 109 | ||
| windows-oldrel | OK | 173 | ||
| wasm-release | OK | 117 |
Exports:data_to_alluviumgeom_alluviumgeom_flowgeom_lodegeom_stratumGeomAlluviumGeomFlowGeomLodeGeomStratumis_alluvia_formis_alluvialis_alluvial_alluviais_alluvial_lodesis_lodes_formlode_backfrontlode_backwardlode_forwardlode_frontbacklode_leftrightlode_leftwardlode_rightleftlode_rightwardlode_zagziglode_zigzagpositions_to_flowself_adjoinstat_alluviumstat_flowstat_stratumStatAlluviumStatFlowStatStratumto_alluviato_alluvia_formto_lodesto_lodes_form
Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglazyevallifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Alluvial Plots in ggplot2
Rendered fromggalluvial.rmdusingknitr::rmarkdownon May 23 2026.Last update: 2026-02-21
Started: 2017-04-11
Tooltips for ggalluvial plots in Shiny apps
Rendered fromshiny.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2023-02-03
Started: 2020-12-04
Labeling small strata
Rendered fromlabels.rmdusingknitr::rmarkdownon May 23 2026.Last update: 2023-02-01
Started: 2018-06-22
The Order of the Rectangles
Rendered fromorder-rectangles.rmdusingknitr::rmarkdownon May 23 2026.Last update: 2023-02-01
Started: 2019-09-02
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check for alluvial structure and convert between alluvial formats | alluvial-data is_alluvia_form is_lodes_form to_alluvia_form to_lodes_form |
| Alluvia across strata | data_to_alluvium geom_alluvium |
| Flows between lodes or strata | geom_flow positions_to_flow |
| Lodes at intersections of alluvia and strata | geom_lode |
| Strata at axes | geom_stratum |
| Lode guidance functions | lode-guidance-functions lode_backfront lode_backward lode_forward lode_frontback lode_leftright lode_leftward lode_rightleft lode_rightward lode_zagzig lode_zigzag |
| Students' declared majors across several semesters | majors |
| Adjoin a dataset to itself | self-adjoin self_adjoin |
| Alluvial positions | stat_alluvium |
| Flow positions | stat_flow |
| Stratum positions | stat_stratum |
| Influenza vaccination survey responses | vaccinations |
