• Open in:

Collapsible force-directed tree

Force Directed Tree is a special kind of chart used to display of multi-item data related in hierarchical, linear or mixed way, as a series of linked bubbles.

This demo shows how to implement collapsing and expanding of tree nodes in a force-directed tree.

For a deep dive into force-directed tree charts check out the Anatomy of Force Directed Tree in amCharts 4 documentation.

Demo source