This example shows how to a second numeric value to a node with myChart.nodeBar(). When transitioning to reflect a differnt column by the node bar, you can:
- sort the nodes according to the new column with myChart.nodeSort()
- keep the current scale with the property updateScales
- for documentation, go to https://github.com/EE2dev/d3-indented-tree
- for other examples, go to https://github.com/EE2dev/d3-indented-tree#examples
Acknowledgements: