• Open in:

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.

Related tutorials

Build this chart with AI

The prompt below can be used to build this chart with AI. For best coding results, use the most advanced AI models, like Claude Opus 4.6 and GPT-5.3-Codex. For more info and tips, check out amCharts AI docs.

Create a force-directed tree chart that displays hierarchical data as linked bubbles using physics-based positioning. Generate random hierarchical data with a root node, up to 2 levels of nesting, up to 5 nodes per level, and values from 0 to 100. Nodes should be connected by links showing parent-child relationships. Enable showing multiple parallel branches simultaneously. The root data item should be pre-selected. Apply the Animated theme. Animate the series with a smooth staggered animation. The chart should be tall at full width. Use amCharts 5 library.

Demo source