Description Usage Arguments Details Value
d3.graphSankey
creates and htmlwidgets using sankey in D3. Inputs must be a couple of data.frames in some specific format.
1 2 | d3.graphSankey(dfNodes, dfLinks, nodeWidth = 15, strokeOpacity = 0.2,
width = NULL, height = NULL)
|
dfNodes |
A data.frame which contains nodes data. Some columns are expected. Every row is a node.
|
dfLinks |
A data.frame which contains links data. Some columns are expected. Every row is a link
|
nodeWidth |
Width of nodes. |
strokeOpacity |
Opacity of links. |
Inputs must be a couple of data.frames.
An htmlwidget.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.