810 questions
2
votes
1
answer
76
views
Sankey Diagram: Categories are not in order
I want to create a sankey diagram using {highcharter} which shows a pre timepoint and a post timepoint. I have been working with this code. My problem is, that R sometimes mixes up the order of the ...
1
vote
0
answers
68
views
Keep identical nodes together in Sankey diagram
I have a test dataframe:
structure(list(session_id = c("1af95808ab79b9f0", "5d7b8edc5d30e029"
), `1` = c("ai-studio/dashboard", "ai-studio/dashboard"), `1.01` = ...
3
votes
1
answer
104
views
How to allow ggalluvial plot to flow "over" a missed visit, and connect to a different stratum
I have an alluvial plot where I am showing a change in "status" over subsequent visits. Participants can move in and out of this status. Some of my participants are missing visits, so I'd ...
3
votes
1
answer
127
views
How do I align the nodes in a Sankey Diagram in Python?
Need some help aligning my Sankey diagram properly.
I've been working on a Sankey diagram project but can't seem to get the nodes aligned properly, they seem to be a bit off. I've tried to manually ...
0
votes
1
answer
108
views
Sankey/alluvial plot, disturbance in geom_alluvium flow
I have this frequency table regarding a clinical data. Columns named ..._risp are treatment response and the ones ending with ..._x are pathological events and can be recurrences or progression of the ...
1
vote
1
answer
74
views
How to remove glow on node labels in Plotly Sankey diagram in Streamlit?
I'm trying to get rid of the "glow" or shadow effect around the node labels of this Plotly Sankey diagram. Is this possible?
import pandas as pd
import plotly.graph_objects as go
import ...
3
votes
1
answer
249
views
Customize sankey diagram design in networkd3
I found this diagram that I like from a research paper: https://www.researchgate.net/figure/Sankey-diagram-visualization-of-the-flow-of-data-from-coding-through-to-interpretation_fig1_338907991
I ...
8
votes
0
answers
231
views
Diagram of road intersection flows (Sankey or other)
I'm trying to make a road intersection flow diagram in Python. The problem is, that none of the Sankey-specific modules that I managed to find support setting coordinates of the nodes and rotation of ...
1
vote
1
answer
109
views
Subplot Sankey Diagrams in plotly R
I would like to show two Sankey Plotly R diagrams below or side by side using the subplot function. Unfortunately, this doesn't work for a Sankey Diagram. Here is some reproducible simple code:
...
0
votes
1
answer
113
views
Plotting Sankey diagram with muiltiple stages but same node labels in R
I would like to plot a sankey diagram to show how observations migrate from one risk level to the other over multiple stages (in this case years). Thus, the risk level labels are the same in each year....
0
votes
0
answers
134
views
Highcharts not properly load with the ReactJs
I am trying to use "react": "18.3.1" with highcharts
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
Basic high charts are working but ...
1
vote
1
answer
82
views
Sankey Diagram Blank in R
I am attempting to produce a Sankey plot in R following the example from https://www.youtube.com/watch?v=S6me1r6RI4I but I am struggling with troubleshooting my input data. I am not getting any error ...
0
votes
0
answers
201
views
Echarts sankey diagram rendering
I'm trying to create a dynamic Sankey diagram with echarts. I have a case where I have a lot of data and my diagram is not really readable as you can see in the image (I have hidden the node names for ...
0
votes
1
answer
63
views
Add percentages of patients in the second node of patients coming from first node in Sankey diagram [closed]
My question is based on this post How to colour skankey node with all colours of first node that it is related to in ggplot?. You might find a reproducable code in this initial post.
And the question ...
0
votes
0
answers
40
views
Aluvial Graph Color, Label, and Ordering Issues
I'm trying to produce a Sankey plot, but every time I code it, either the left or right side ends up without color. Also, I'm having trouble getting correct the strongly agree, agree, neither, ...
3
votes
1
answer
78
views
Remove unused node in python plotly
What im trying here is to create a relationship between Tasks. Some of them are connected directly to each other while others are passing through this big box i circled instead of connecting directly(...
0
votes
1
answer
52
views
How do I set some custom colors to link when I use sankeyNetwork?
I used the sankeyNetwork function from the networkD3 R package to draw a sankey plot, aiming to show the changes in the number of cell types at different levels, but my custom colors don't match the ...
1
vote
0
answers
120
views
The sankey diagram made with d3 fails and has overlapping nodes
I have a problem making a sankey chart with d3. It has to be in an HTML file without using frameworks so that it can be sent without further ado.
The problem is that nodes 4 and 5 are overlapping and ...
0
votes
1
answer
92
views
How to create a Sankey diagram in R where node colors are consistent for providers across different phases of a healthcare pathway?
I am working on a project where I need to visualize the flow of healthcare providers across different phases of a care pathway using a Sankey diagram in R. Each phase represents a step in the care ...
1
vote
1
answer
89
views
I am having difficulty with the adding the additional Step 6 to the Ken Flerlage Sankey funnel template
I have used all the tips and tricks I could find on the Tableau community. Thank you Ken Flerlage for providing such great instructions, however I'm having a bit of a challenge still. As you can see ...
1
vote
1
answer
84
views
Sankey diagram with NetworkD3 [duplicate]
I am working on a sankey diagram in R following some tutorials using networkD3 package.
I do not understand what is not working since when I run my codes, they work but in the Viewer it doesn't appear ...
1
vote
1
answer
339
views
Integrating PowerBI Measures into Deneb Vega Visualisation (David Deneb Sankey)
I've been trying to modify the Sankey Chart made by @davidebacci to utilise in PowerBI / Deneb.
The template he has shared is beautiful. However, all of the values have been manually placed into the ...
-1
votes
1
answer
237
views
Why data is not in a recognized alluvial form
I have a dataset of students with their grades and I want to evaluate their evolution over the years.
I've already cleaned up the data, and I've associated each student with his or her quintile within ...
1
vote
0
answers
22
views
How do I sort two axis in geom_alluvium [duplicate]
When I sorted the rectangles and lines on the two axes of the relative alluvial plot, I found that using factor can only adjust one axis, while the other cannot. What should I do?
The data is as ...
1
vote
0
answers
64
views
Sanjey diagram with variable width
I would like to render a graphic like this:
I thought that Sankey diagram is what is for create diagram like this and I use https://www.npmjs.com/package/chartjs-chart-sankey
However I cannot ...