block by emeeks 8e73290130d9e25c6d9c

Orbital Layout 2

Full Screen

This is an early draft of a hierarchical orbital layout. Like other hierarchical layouts (pack, tree, treemap, etc) It takes nested data annotates it with xy values for display, in this case arranging the data into orbits, with child nodes orbiting parents and the root node at the center.

You can set the layout size as an array but for now only circular orbits are supported (no ellipses) and as such only the first value in the array is honored.

This version displays orbital rings by calling orbit.orbitalRings(), which returns an array of data corresponding to each ring. You can also see an animated version here.

index.html