Draw a sankey diagram.
Usage
e_sankey(
e,
source,
target,
value,
layout = "none",
rm_x = TRUE,
rm_y = TRUE,
...
)
e_sankey_(
e,
source,
target,
value,
layout = "none",
rm_x = TRUE,
rm_y = TRUE,
...
)
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.- source, target
Source and target columns.
- value
Value change from
source
totarget
.- layout
Layout of sankey.
- rm_x, rm_y
Whether to remove the x and y axis, defaults to
TRUE
.- ...
Any other option to pass, check See Also section.