How to create collapsible tree graph using D3

This was splitted from this related thread app.R did not return a shiny.appobj object


I want to create this type of tree (https://bl.ocks.org/mbhall88/126b3c2c54215b4d1ffbd2d778ce3973 ) with collapsible tree package. I want to add number of nodes within the circle. Is there any way to add this feature in the code?

possible but not trivial.

Thankyou so much for your response. Actually collapsibletree package allow me to create this type of figure(https://adeelk93.github.io/collapsibleTree/)
But i want to add number of nodes within the circle. as in this example https://bl.ocks.org/mbhall88/126b3c2c54215b4d1ffbd2d778ce3973.

Is it possible to add number of nodes within the circle using Rstudio.

if you want to use that package rather than roll your own d3 script, then you are limited by what has been implemented.
You could track this issue, and you could add your own post to add your weight to the request.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.