This demo creates a custom ForceDirected tree chart with a few advanced features, e.g.:
- Custom radius and color for each node via data.
- Buttons and icons added to nodes.
- Legend, which toggles nodes.
See the Pen ForceDirectedTree with custom nodes/buttons/legend by amCharts team (@amcharts) on CodePen.