Create Interactive Collapsible Trees with the JavaScript 'D3' Library

Create and customize interactive collapsible 'D3' trees using the 'D3' JavaScript library and the 'htmlwidgets' package. These trees can be used directly from the R console, from 'RStudio', in Shiny apps and R Markdown documents. When in Shiny the tree layout is observed by the server and can be used as a reactive filter of structured data.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.2 by Jonathan Sidi, 10 months ago

Report a bug at

Browse source code at

Authors: Jonathan Sidi [aut, cre] , Kenton Russell [ctb] (

Documentation:   PDF Manual  

GPL-2 | GPL-3 license

Imports magrittr, stringr, htmlwidgets, plyr, dplyr

Suggests shiny, rmarkdown

See at CRAN