added functionality to D3Dendro