Create a tree diagram in Shiny


What is the best way for users to create a tree diagram in Shiny?

I will use the tree diagram to flag which leaf nodes each row of my data belongs to.

Thank you!


There are a number of packages to make tree diagrams in R. I don't personally have experience with any of them, but a quick Google search turned up this:

and this