In the plot, the size of node B is not proportional to its value 184 as screenshot below.
It seems like parent node size is sum aggregation of its all children size. However, what I expect is that each node size is independent based on its specified column variable.
Can you please make more clarification about this?
dataset:
code: library(collapsibleTree)
df <- read.csv(file="test_data.csv", header=TRUE,sep=",", na.strings = c("", NA))
len <- nrow(df)
colfunc <- colorRampPalette(c("red", "paleturquoise1"))
color_col <- colfunc(len)
df$Color <- color_col
p <- collapsibleTreeNetwork( df, fill = "Color", attribute = "value", collapsed = TRUE, height = 800, width = 2000, zoomable = TRUE, aggFun = identity, tooltip = TRUE, nodeSize = "value" )
In the plot, the size of node B is not proportional to its value 184 as screenshot below.
It seems like parent node size is sum aggregation of its all children size. However, what I expect is that each node size is independent based on its specified column variable.
Can you please make more clarification about this?
Thank you!