Sankey error state
See original GitHub issueIn https://github.com/plotly/plotly.py/issues/1536, @adurivault discovered a combination of Sankey links that causes Plotly.js to freeze up.
CodePen: https://codepen.io/jonmmease/pen/OGGPjL?editors=1010
var fig = {
"data": [
{
"link": {
"source": [
2,
2,
4,
2,
3,
0,
1,
0
],
"target": [
0,
4,
2,
3,
2,
4,
2,
1
],
"value": [
1,
1,
1,
1,
1,
1,
1,
1
]
},
"node": {
"label": [
"A",
"B",
"C",
"D",
"E"
]
},
"type": "sankey"
}
],
"layout": {}
}
Plotly.newPlot('myDiv', fig, {showSendToCloud: true});
Interestingly, if any single link is commented out, then the diagram renders successfully.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Error on sankey update while hovered · Issue #10624 - GitHub
A call to chart.update while a sankey edge is hovered results in error. highcharts.src.js:45176 Uncaught TypeError: Cannot read property ' ...
Read more >The What, Why, and How of Sankey Diagrams
Sankey diagrams show the flow of resources. They communicate sources and uses of the resources, materials, or costs represented.
Read more >How to resolve undefined columns error for a Sankey in R?
The column names that you are setting in the sankeyNetwork function (i.e. Source = "Source", Target = "Target", Value = "Value", ...
Read more >use ggalluvial to draw Sankey, but an error occured:Error ...
I tried to use R's ggplot2 and ggalluvial to draw sankey, ... The error message states that mydata$Target.region does not have the same ......
Read more >Sankey chart shows 'no data found' error
This error occurs when the underlying NRQL query generated by the filters and/or facets applied to the sankey diagram do not contain the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @joetristano for confirming this fixes your issue!
The PR hasn’t been merged into
master
yet but it should be part of our next minor release which will bev1.49.0
. You can follow the progress in PR #3932Thank you for posting your dataset @joetristano. I haven’t had time to tackle the issue upstream tomshanley/d3-sankey-circular#35 but I will give it a look soon. I’ll keep you posted.