0
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

Lili
  • 493
  • 3
  • 13
  • It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Aug 10 '21 at 17:04

0 Answers0