AdeelK93 / collapsibleTree

Create Interactive Collapsible Tree Diagrams in R using D3.js
https://adeelk93.github.io/collapsibleTree/
159 stars 41 forks source link

attributes of collapsibleTree #51

Closed empereira closed 3 years ago

empereira commented 5 years ago

Hello,

@AdeelK93

It is possible to use the attributes option in the form below:

df %>%
summarise(`sum of IPs` = n(), `% of IPs` = n()) %>%
collapsibleTreeSummary(
        ...
        attribute = c("sum of IPs", "% de IPs"),
        percentOfParent = TRUE,
        zoomable = TRUE
      )