AdeelK93 / collapsibleTree

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

collapsibleTreeSummary Function - Allow for different agg functions #61

Open mnagleeisai opened 3 years ago

mnagleeisai commented 3 years ago

Hi,

Would it be possible to add different aggregation functions to the collapsibleTreeSummary Function? Instead of sum, I'd like to be able to aggregate and order the nodes by the max of the child nodes.

Thanks