collapsibleTree(
tree_data,
hierarchy = c("Group.priority","Element","Measure_1","Measure_2", "Measure_3", "Measure_4"),
width = 1600,
zoomable = TRUE,
nodeSize = "leafCount"
)
I would like to link each one of the factor variables of df$Measure_1 to a specific colour. How can I do that?
Thanks