block by jdarling 2073ba4c2d640236e2e2

Reuseable D3 MindMap (left/right tree)

Full Screen

Reuseable D3 MindMap

Trying to follow the paradigm setup in “Towards Reusable Charts” (http://bost.ocks.org/mike/chart/) and create a reuseable MindMap (left/right tree) type view.

Everything implemented, can override node’s with custom nodes if you choose, add nodes to the graph, remove nodes from the graph, swap nodes around. Could be used to create a nice online bracket chart as well.

Thanks to Jason Davies for pointing out my typo on idx’s scope.

index.html

mindmap.js