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.


CRAN_Status_Badge Project Status: Active - The project has reached a stable, usable state and is being actively developed. downloads

Reactive shiny filters through collapsible d3js trees

Overview

D3js is a great tool to visualize complex data in a dynamic way. But how can the visualization be part of the natural workflow?

Creating new reactive elements through the integration of Shiny with d3js objects allows us to solve this problem.

Through Shiny we let the server observe the d3 collapsible tree library and its real-time layout.

The data transferred back to Shiny can be mapped to a series of logial expressions to create reactive filters.

This allows for complex data structures, such as heirarchal simulations, complex design of clinical trials and results from polycompartmental structural models to be visually represented and filtered in a reactive manner through an intuitive and simple tool.

Reference manual

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

install.packages("d3Tree")

0.3.0 by Jonathan Sidi, 3 years ago


https://github.com/yonicd/d3Tree


Report a bug at https://github.com/yonicd/d3Tree/issues


Browse source code at https://github.com/cran/d3Tree


Authors: Jonathan Sidi [aut, cre] , Kenton Russell [ctb] (https://github.com/timelyportfolio)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmlwidgets, tibble, tidyselect, dplyr, utils

Suggests rmarkdown


See at CRAN