sankey-diagram Questions
6
Is there a Python library for generating Sankey diagrams?
I've seen this list of Sankey diagram applications and libraries, but none of them is in Python.
Crackbrained asked 25/10, 2009 at 5:51
1
I am trying to figure out if there is a way to specify the location of the node's labels for a Plotly Sankey diagram in python. In the image linked below I have the diagram with the labels automati...
Mesitylene asked 25/11, 2020 at 21:24
2
Solved
Suppose I have this dataset (the actual dataset has 30+ columns and thousands of ids)
df <- data.frame(id = 1:5,
admission = c("Severe", "Mild", "Mild", "Mod...
Post asked 20/10, 2022 at 14:12
3
Solved
I search in R implementation (may be html widget on java script) a stacked bar chart in ribbon style, which allows you to see the rating change for each category in the dynamics.
It's look like rib...
Pulvinus asked 1/2, 2018 at 7:58
2
Solved
I've build a Sankey diagram using plotly. I want to name the columns giving each one a column title, like the text in red below:
How can I write these column titles?
Urbano asked 14/5, 2021 at 21:6
6
Solved
A problem I have come across using the d3 sankey implementation is that there's no way to specify where on the x axis a node is. I've been poking through the source and there isn't really a "clean"...
Newhall asked 3/2, 2014 at 22:35
0
Is there a way to make the links in a Plotly Sankey diagram have a color gradient between the source node color and the end node color? This image is taken from a page linked by the Plotly document...
Dutybound asked 3/9, 2021 at 11:45
1
Solved
I'm trying to plot patient flows between 3 clusters in a Sankey diagram. I have a pd.DataFrame counts with from-to values, see below. To reproduce this DF, here is the counts dict that should be lo...
Tedtedd asked 14/5, 2021 at 8:59
1
Solved
I am making a Sankey chart and I would like to add text on top of each column in order to give a brief description of what is shown.
Example code taken from the r-graph galery:
library(networkD3)
...
Keble asked 26/3, 2021 at 8:21
2
Solved
I created a Sankey diagram using the plotly package.
As far as I see, the default order of nodes is mostly defined by the value. However, I want the alphabetical order without manually moving nod...
Sartorius asked 17/2, 2018 at 8:24
1
When I write a report in rmarkdown, all my figures as save automatically under the folder graphs. However, as a Sankey diagram is different, it does not save as a picture (.png, etc...) automatical...
Malarkey asked 5/12, 2020 at 15:1
1
I would like to add node count to each node in a Plotly Sankey diagram (https://plot.ly/python/sankey-diagram/) to look like the count referenced by red arrows.
Is this possible? I cannot find e...
Madrepore asked 29/1, 2020 at 21:9
7
Solved
I want to draw a Sankey diagram using Javascript. Can anyone provide some direction regarding the algorithms or libraries that are available for this?
Overtop asked 28/12, 2010 at 10:9
2
Solved
The fascinating chart below is in the Economist, Jan. 30, 2016 at 61. It depicts exports of liquified natural gas (LNG) from five regions to six regions. How can R draw something similar to it, per...
Fichu asked 31/1, 2016 at 21:57
2
Solved
I want to highlight the whole path when i click on the node to know the whole story of specific node and here's an example- http://bl.ocks.org/git-ashish/8959771 .
Please check this link and you w...
Cercus asked 10/9, 2017 at 15:6
1
The sankey diagram of PowerBI has many possibilities but as you can read on the github site there are some important limitations. The first is that it is not possible to color the nodes. In additio...
Yukyukaghir asked 5/1, 2020 at 18:4
0
I am trying to change the orientation of the node label to be left of the node and in the white space for better readability, similar to how the 'C' labels are aligned.
import plotly.graph_obje...
Plantar asked 19/11, 2019 at 17:53
0
I would like to use the ggforce package in R to create a Sankey diagram because I prefer the look of the parallel sets plots made with ggforce to other visualizations. I have nodes that are sorted ...
Solanaceous asked 25/9, 2019 at 15:34
1
Solved
I would like to chance the distances between groups in an alluvial diagram using ggplot2 and ggalluvial
my example is from https://corybrunson.github.io/ggalluvial/articles/ggalluvial.html
data(v...
Americanism asked 3/5, 2019 at 21:14
1
Solved
I have a dataframe:
Vendor Name Category Count
AKJ Education Books 846888
AKJ Education Computers & Tablets 1045
Amazon Books 1294423
Amazon Computers & Tablets 42165
Amazon Other 415
Flip...
Forficate asked 23/5, 2018 at 11:4
1
Solved
This may sound like a very broad question, but if you'll let me describe some details I can assure you it's very specific. As well as discouraging, frustrating and rage-inducing.
The following plo...
Irrigation asked 22/3, 2019 at 14:4
1
Solved
I'd like to focus on the flow highlighted above connecting the blue 'Thermal generation' block to the pink 'Electricity grid' block. You'll notice that the flow is 526 TWh, which is row #62 from ...
Sikang asked 19/2, 2019 at 15:23
10
I am trying to visualize my data flow with a Sankey Diagram in R.
I found this blog post linking to an R script that produces a Sankey Diagram; unfortunately, it's quite raw and somewhat limited (s...
Servomechanism asked 1/4, 2012 at 21:17
3
Solved
How can node and link colors be changed in R googleVis sankey chart? And link having the same color as its originating node?
library(googleVis)
datSK <- data.frame(From=c(rep("A",3), rep("B", 3...
Ultimogeniture asked 31/3, 2015 at 15:7
2
Solved
I can create a tree with Rpart using the Kyphosis data set which is part of base R:
fit <- rpart(Kyphosis ~ Age + Number + Start,
method="class", data=kyphosis)
printcp(fit)
plot(fit, uniform=...
Midcourse asked 6/9, 2018 at 10:42
1 Next >
© 2022 - 2024 — McMap. All rights reserved.