Sankey diagrams are a kind of flow diagram, in which the width of the arrows is shown proportionally to the flow quantity. They are typically used to visualize energy or material or cost transfers between processes.
Questions tagged [sankey-diagram]
752 questions
1
vote
1 answer
react-vis sankey captions and legend
I am trying to find a sankey diagram component for React. There is a wrapper for Vis.JS with D3 and D3 Sankey plugin - react-vis. It with little effort draws Sankey. There are a couple of problems - "an invalid" array nodes can bring down browser -…

Moshe Shmukler
- 1,270
- 2
- 21
- 43
1
vote
1 answer
Sankey diagram matplotlib save scale issue
Using matplotlib to generate a Sankey diagram of data from wikipedia (looks like really bad data but figured I'd figure out the code and then go looking for better data). And I can't seem to get the file to scale correctly.
It displays fine with…

Cody
- 721
- 7
- 15
1
vote
1 answer
networkD3 (Sankey) and sunburstR (Sanburst) package can not be useed together in Shiny
I'm trying to include a senkey diagram (networkD3) and a sunburst diagram (sunburstR) into a Shiny app, but I find it did not work when I put them together. I don't get any errors however only the Sankey diagram displayed. Does anyone had the same…

Abdeljalil
- 11
- 1
- 3
1
vote
0 answers
Connecting a point in a Map to a legend by Line in R
Is this graph available in R? i searched alot of how connecting points with legends like making a line between public agency and planned point in map but i couldn't find a solution for that .
I found something similar called Sankey map but…

Omar Abd El-Naser
- 684
- 7
- 20
1
vote
0 answers
How to control distance between nodes in Sankey diagram using GoogleVis in R
I have a multilevel Sankey diagram made in R with package GoogleVis and I would like to be able to control the distance between nodes. According to https://developers.google.com/chart/interactive/docs/gallery/sankey to adjust node distance we can…

Pablo
- 79
- 9
1
vote
1 answer
Generating Sankey Diagram onto an html from R
I am a complete novice when it comes to using R and need some help. I have successfully made a sankey diagram in R but now want to make it into an accessible html. I have seen my professor do this but when I attempt to replicate it with the…

Andrew Marichal
- 11
- 1
1
vote
1 answer
d3.js Sankey using named nodes
I've created my first sankey diagram with the d3.js framework.
My nodes and links have the following structure:
"nodes": [{
"name" : "TestViewCode",
"id" : "environment_score"
}],
"links" : [
{
"source" : 9,
"value" :…

Patrick Grebe
- 111
- 2
- 14
1
vote
1 answer
Sankey bar graphs in R
I'd like to make this type of plot in R.
There's more detail on the SAS macros to produce this example here: http://www.pharmasug.org/proceedings/2015/DV/PharmaSUG-2015-DV07.pdf
Does anyone have any thoughts on how I should go about doing this in…

bjw
- 2,046
- 18
- 33
1
vote
1 answer
Integrate json code into a d3 html file
I'm testing the sandey chart from the following link: https://gist.github.com/d3noob/c2637e28b79fb3bfea13
But I can only see the the chart in Firefox, not in Chrome. I suspect because Chrome doesn't allow to access data from an external…

Selrac
- 2,203
- 9
- 41
- 84
1
vote
0 answers
sankey Plot of rCharts doesn't show
I am using the code from this page http://timelyportfolio.github.io/rCharts_d3_sankey/example_build_network_sankey.html The code goes like this:
setwd("F:/Urgent/Compendium/Reserach…

Koushik Chowdhury
- 53
- 7
1
vote
1 answer
Riverplot package in R - error in edges column names
I'm trying to use the Riverplot package in R to make a Sankey diagram, but I'm getting an error message about the column names in the edges frame.
I'm installing the readr and riverplot packages and then doing this:
> my_data <-…

String
- 123
- 1
- 8
1
vote
1 answer
Making a Sankey Diagram with googleVis in R
I am trying to create a Sankey diagram in R, using the googleVis package. (The data.frame that I am using can be found below) What I want the diagram to do is go from the Type, to the Organization, then to the team (Tm), while the size represents…

Julien
- 992
- 1
- 10
- 26
1
vote
0 answers
google charts sankey type download
I am struggling to download my sankey diagram built with google charts as a png/jpg with the clickButton. I have deeply screened other Q&A and tried with purposed examples but I did not get anything working. Can anyone suggest me how to proceed?
I…

S.Ghioz
- 11
- 1
1
vote
2 answers
Sankey Diagram with R library networkD3 does not show colors
I am using the networkD3 library for R in order to create Sankey networks. While this works pretty well for me, I have now encountered an issue with assigning the attributes "NoteID" and/or "NoteGroup" to group and allocate colors as shown in…

Oliver
- 441
- 6
- 14
1
vote
0 answers
BiHiSankey diagram in iframe with a dynamic size
I am working on Bi-directional hierarchical sankey diagram (http://bl.ocks.org/Neilos/584b9a5d44d5fe00f779).
I have added more than 50 nodes now and the diagram height is not fitting the page.
I am also using the sankey.html on another page inside…

Wanderer
- 11
- 2