Tree Animation

A static JSON Tree structure is used as input for this animation.

Clicking on a node should move the tree and center that node.

Leaves color depend on the number of children they actually have.

You can select the tree orientation by changing the select box in the right column.
See the Example Code

Change Tree Orientation