collapseBigOnes(d) {
    if (d.children) {
      if (d.children.length > 10) {
        d._children = d.children;
        d._children.forEach((d) => {this.collapseBigOnes(d)});
        d.children = null;      
      }
      else
        d.children.forEach((d) => {this.collapseBigOnes(d)});
    }
  }
// Collapse the node and all it's children
Collapse the node and all it's children
Collapse the node and all it ' s children
collapseBigOnes(d) {
    if (d.children) {
      if (d.children.length > 10) {
        d._children = d.children;
        d._children.forEach((d) => {this.collapseBigOnes(d)});
        d.children = null;      
      }
      else
        d.children.forEach((d) => {this.collapseBigOnes(d)});
    }
  }
collapseBigOnes ( d ) { if ( d . children ) { if ( d . children . length > 10 ) { d . _children = d . children ; d . _children . forEach ( ( d ) => { this . collapseBigOnes ( d ) } ) ; d . children = null ; } else d . children . forEach ( ( d ) => { this . collapseBigOnes ( d ) } ) ; } }
Collapse the node and all it's children
Collapse the node and all it ' s children