You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `ggsankeyfier` packages allows you to visualise your data as Sankey or Alluvial diagrams.
35
34
A Sankey diagram is essentially a stacked bar plot, where the bands connect bars across
36
35
stages (on the x-axis), to show how quantities flow between them.
@@ -44,6 +43,21 @@ to add all sorts of other layers, such as text and labels.
44
43
Furthermore, the data model used by the package allows you to visualise flows that skip stages
45
44
or even feedback loops.
46
45
46
+
And last but not least, in contrast to other packages, `ggsankeyfier` uses proportionate bands.
47
+
In alluvial and Sankey diagrams data quantity flows are represented by
48
+
bands that flow across stages. In order to effectively visualise quantities, the width of the
49
+
band needs to be proportionate to the quantity. Other packages use a vertically oriented
50
+
brush to plot the bands, making them narrow when the slope is steep. The `ggsankeyfier` package
51
+
uses a brush that is perpendicular to the direction of the flow. This keeps the width along
52
+
the band constant and proportionate with its representing quantity.
53
+
54
+
This is illustrated in the animation below where both panels visualise the same quantity.
55
+
As a reference a horizontal band representing the same quantity is shown. Note that the
56
+
orientation of the brush affects its appearance.
57
+
58
+

0 commit comments