Cargando…

ggalluvial: Layered Grammar for Alluvial Plots

Alluvial diagrams use stacked bar plots and variable-width ribbons to represent multi-dimensional 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 g...

Descripción completa

Detalles Bibliográficos
Autor principal: Brunson, Jason Cory
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10010671/
https://www.ncbi.nlm.nih.gov/pubmed/36919162
http://dx.doi.org/10.21105/joss.02017
_version_ 1784906222875443200
author Brunson, Jason Cory
author_facet Brunson, Jason Cory
author_sort Brunson, Jason Cory
collection PubMed
description Alluvial diagrams use stacked bar plots and variable-width ribbons to represent multi-dimensional 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.
format Online
Article
Text
id pubmed-10010671
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-100106712023-03-13 ggalluvial: Layered Grammar for Alluvial Plots Brunson, Jason Cory J Open Source Softw Article Alluvial diagrams use stacked bar plots and variable-width ribbons to represent multi-dimensional 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. 2020 2020-05-21 /pmc/articles/PMC10010671/ /pubmed/36919162 http://dx.doi.org/10.21105/joss.02017 Text en https://creativecommons.org/licenses/by/4.0/License Authors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License (CC-BY (https://creativecommons.org/licenses/by/4.0/) ).
spellingShingle Article
Brunson, Jason Cory
ggalluvial: Layered Grammar for Alluvial Plots
title ggalluvial: Layered Grammar for Alluvial Plots
title_full ggalluvial: Layered Grammar for Alluvial Plots
title_fullStr ggalluvial: Layered Grammar for Alluvial Plots
title_full_unstemmed ggalluvial: Layered Grammar for Alluvial Plots
title_short ggalluvial: Layered Grammar for Alluvial Plots
title_sort ggalluvial: layered grammar for alluvial plots
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10010671/
https://www.ncbi.nlm.nih.gov/pubmed/36919162
http://dx.doi.org/10.21105/joss.02017
work_keys_str_mv AT brunsonjasoncory ggalluviallayeredgrammarforalluvialplots