ggalluvial: Layered Grammar for Alluvial Plots
2020; Open Journals; Volume: 5; Issue: 49 Linguagem: Inglês
10.21105/joss.02017
ISSN2475-9066
Autores Tópico(s)Soil Geostatistics and Mapping
ResumoAlluvial diagrams use stacked bar plots and variable-width ribbons to represent multidimensional or repeated-measures data comprising categorical or ordinal variables (Bojanowski & Edwards, 2016;Rosvall & Bergstrom, 2010).The ggalluvial package extends the layered grammar of graphics of ggplot2 (Wickham, 2016) to generate alluvial diagrams from tidy data (Wickham, 2014).The package makes two key contributions to the R ecosystem.First, ggalluvial anchors the imprecise notion of an alluvial diagram to the rigid grammar of graphics (Wilkinson, 2006), which lends the plots more precise meaning and opens up many combinatorial possibilities.Second, ggalluvial adopts a distinctive geological nomenclature to distinguish "alluvial plots" and their graphical elements from Sankey diagrams and parallel sets plots, which I hope prove useful as these visualization tools converge toward common standards.
Referência(s)