sankey-diagram Questions
2
Currently I am trying to create an interactive Sankey with the networkD3 Package following the instructions by Chris Grandrud (https://christophergandrud.github.io/networkD3/).
What I don't unders...
Spitfire asked 23/5, 2017 at 10:36
1
++++++++++++++++
Update:
I think the answer to my question is that you can't put line breaks in. A colleague pointed out to me the node labels are SVG blocks, which don't support line breaks.
+++...
Superconductivity asked 22/6, 2017 at 13:20
1
Solved
I would like to visualize a rank change (i.e. change of the relative order) of US states using a Sankey flow graph. I'm using the networkd3 package and came up with the following:
library(dplyr)
l...
Buzzell asked 7/9, 2018 at 20:35
1
Solved
As per object, I get a very small plot in Firefox when using sankeyNetwork() from networkd3 in shiny but not in Chrome or RStudio.
I have not included any CSS or JS in the script - the code below ...
Bantling asked 3/7, 2018 at 1:3
2
I want to plot a Sankey diagram in R using highcharter package. I face a problem with formatting it. Here is the example.
# devtools::install_github("jbkunst/highcharter")
library(highcharter)
hc...
Donnelly asked 14/6, 2018 at 14:54
1
Solved
I'm currently using Alluvial package in R to create a visualization.
Here is my data set:
https://app.box.com/s/6qju42u0cg1cmrnhyhyzmjtp59wnsn3q
Here is my code:
alluvial(fb_ad_3d[,2:3], freq=...
Cruikshank asked 17/5, 2018 at 15:18
2
Solved
In the r-markdown document given below, I use tabbed sections to display sankey plots.
However, when a sankey plot is in a tab other than the first, adjusting (using htmlwidgets::onRender functio...
Gravure asked 27/3, 2018 at 9:32
1
Solved
I'm trying to control which flows connect to each other using the Matplotlib Sankey diagram. I'm modifying the basic two systems example.
I think my confusion comes down to misunderstanding what t...
Androgynous asked 6/3, 2018 at 22:30
1
Solved
I am trying to build sankey plot using networkD3 library. I have following code and data:
# Plotting the Sankey network diagram
nodes = data.frame("name" =
c("Mamalian", # Node 0
"Avian", # Nod...
Rosanne asked 26/1, 2018 at 9:54
1
Solved
The following R shiny script creates a sankey chart as in the snapshot below. My requirement is that when I click on any link between the nodes on left and right i.e. "a1" and "a2", I want the tota...
Sorry asked 24/1, 2018 at 8:3
1
Solved
Questions
I'm trying to visualize panel data on individuals that includes both a discrete or categorical choice and a continuous choice in each time period. One common example of this situation is...
Preussen asked 27/3, 2017 at 17:59
1
I created a sankey diagram like this:
#install.packages("networkD3")
library(networkD3)
nodes = data.frame("name" =
c("Retour", # Node 0
"niet tevreden/ontevreden", # Node 1
"fout", # Node 2
...
Armyn asked 29/12, 2017 at 14:23
1
Solved
The script below works on the patients data from bupaR package,and creates a sankey plot listing the relation between a resource from the "employee" column with the activity he is involved in from ...
Overload asked 17/12, 2017 at 9:29
1
Solved
kindly run the script below, I have created a Sankey chart in R and plotly using data from "patients" dataset of the bupaR library. Please see the snapshot for reference. The issue I am facing is t...
Nucleonics asked 14/12, 2017 at 11:41
1
Solved
I have a sankey plot created in networkD3 package. I would like to modify the colors and transparency of both nodes and links.
My data networkD3_data is appended at the end.
Question 1: How to mo...
Imperceptive asked 7/10, 2017 at 3:16
1
Solved
I have a simple sankey diagram, generated using networkD3 package inside a shiny app. How can source and/or target nodes be sorted?
As you can see in the MWE, by default, neither source nodes (A, ...
Thuja asked 11/9, 2017 at 21:7
1
Solved
I have a Sankey diagram I'm creating in R. It produces the diagram but the node names are placed on the left of the nodes for the right side nodes. I would like all names to be on the right so the ...
Lidalidah asked 16/8, 2017 at 17:54
1
Solved
Aim
I am aiming to make a multiple Sankey in R using the googleVis package. The output should look similar to this:
Data
I've created some dummy data in R:
set.seed(1)
source <- sample(c(...
Concepcionconcept asked 4/8, 2017 at 15:21
2
Solved
I am using matplotlibs sankey functionality and have a problem with connecting two flows. Basically, I just want to connect the flow Qab,rekup to the end of the flow Qzu,rekup (see Screenshot).
Se...
Linet asked 31/10, 2014 at 15:2
0
I am creating a Sankey diagram using googleVis in R.
I want to to color links of nodes that "advance" in one color, links of nodes that "regress" in another, and links of nodes that "stay the sam...
Ahmedahmedabad asked 24/7, 2017 at 22:57
3
Solved
So I am playing around with the d3.js Sankey diagram.
In this example (pictured above) color is defined using
var color = d3.scale.category20();
For each node there is a rectangle, and that ...
Enabling asked 22/10, 2012 at 7:23
1
Solved
I've created a Sankey diagram in R, using the networkD3 package, that I'd like to save as a static image, using code instead of clicking on 'Export' --> 'Save as Image...'.
The current code I've t...
Guth asked 8/5, 2017 at 11:51
2
I've made a Sankey diagram in R Riverplot (v0.5), the output looks OK small in RStudio, but when exported or zoomed in it the colours have dark outlines or gridlines.
I think it may be because ...
Seymore asked 11/12, 2016 at 17:7
1
Solved
On his d3 Sankey Diagram page, Mike Bostock says "The algorithm could be improved in the future, say to minimize link crossing".
I would like to invest some time and do just that, but I'm not sure...
Crushing asked 18/5, 2016 at 14:42
1
Solved
Is there a trick to placing text on a sankey diagram rendered using networkD3? I would like to have the values of the endpoints be displayed as text to the right of their boxes. I realize that hove...
Vikiviking asked 5/2, 2016 at 2:25
© 2022 - 2024 — McMap. All rights reserved.