Package: ggsankeyfier 0.1.8.0015

ggsankeyfier: Create Sankey and Alluvial Diagrams Using 'ggplot2'

Sankey and alluvial diagrams visualise flows of quantities across stages in stacked bars. This package makes it easy to create such diagrams using 'ggplot2'.

Authors:Pepijn de Vries [aut, cre, dtc], Gerjan Piet [dtc], Ruud Jongbloed [dtc], Anne Grundlehner [dtc], Jacqueline Tamis [dtc]

ggsankeyfier_0.1.8.0015.tar.gz
ggsankeyfier_0.1.8.0015.zip(r-4.7)ggsankeyfier_0.1.8.0015.zip(r-4.6)ggsankeyfier_0.1.8.0015.zip(r-4.5)
ggsankeyfier_0.1.8.0015.tgz(r-4.6-any)ggsankeyfier_0.1.8.0015.tgz(r-4.5-any)
ggsankeyfier_0.1.8.0015.tar.gz(r-4.7-any)ggsankeyfier_0.1.8.0015.tar.gz(r-4.6-any)
ggsankeyfier_0.1.8.0015.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ggsankeyfier/json (API)

# Install 'ggsankeyfier' in R:
install.packages('ggsankeyfier', repos = c('https://pepijn-devries.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pepijn-devries/ggsankeyfier/issues

Pkgdown/docs site:https://pepijn-devries.github.io

Datasets:

On CRAN:

Conda:

ggplot2visualisation

7.09 score 22 stars 74 scripts 553 downloads 21 exports 32 dependencies

Last updated from:66c3b840a5 (on master). Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK192
source / vignettesOK215
linux-release-x86_64OK172
macos-release-arm64OK94
macos-oldrel-arm64OK119
windows-develOK133
windows-releaseOK133
windows-oldrelOK159
wasm-releaseOK120

Exports:draw_key_sankeyedgedraw_key_sankeynodegeom_sankeyedgegeom_sankeynodegeom_sankeysegmentGeomSankeyedgeGeomSankeynodeGeomSankeysegmentpivot_stages_longerposition_sankeyPositionSankeyscale_waist_binnedscale_waist_continuousscale_waist_datetimescale_waist_discretescale_waist_identityscale_waist_manualstat_sankeyedgestat_sankeynodeStatSankeyedgeStatSankeynode

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegridBeziergtableisobandlabelinglifecyclemagrittrpillarpkgconfigpolyclippurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitevwlinewithr

Decorating Sankey Diagrams
Decorating Nodes and Edges with Aesthetics | Additional Layers | Curve Shape | Slope | Infliction Point | Waist | Keys and Legends | Different Themes

Last update: 2025-12-02
Started: 2024-02-29

Loop De Loop
To Cycle or not to Cycle | Feedback | Self Reference

Last update: 2025-12-02
Started: 2024-02-29

Positioning Sankey Elements
Using position_sankey | Spacing | Alignment | Splitting nodes | Stacking order | Nudging

Last update: 2025-11-29
Started: 2024-02-29

Sankey Data Management
Introduction | Wide or Long Format? | Converting from Wide to Long | The Edge id and Connector

Last update: 2025-11-29
Started: 2024-02-29

Stacking Order
Small to Large (or Vice Versa) | More Order Please | Give me the Power

Last update: 2025-11-28
Started: 2025-11-28

Readme and manuals

Help Manual

Help pageTopics
Key glyphs for legendsdraw_key_sankeyedge draw_key_sankeynode
Data on risks to supply ecosystem servicesecosystem_services ecosystem_services_pivot1 ecosystem_services_pivot2
Bars representing nodes in a Sankey diagramGeomSankeynode geom_sankeynode
Sankey edges (flows)GeomSankeyedge GeomSankeysegment geom_sankeyedge geom_sankeysegment
Pivot wide data to long for plotting as Sankeypivot_stages_longer
Position nodes and edges in a Sankey diagramPositionSankey position_sankey
Sankey edge waist line scalesscale_waist_binned scale_waist_continuous scale_waist_datetime scale_waist_discrete scale_waist_identity scale_waist_manual
Sankey statsStatSankeyedge StatSankeynode stat_sankeyedge stat_sankeynode