block by fogonwater 893b2b8e6a3698e03152b720e88d39db

D3.force, multiple sets of multiple foci

Full Screen

Example showing how to use multiple sets of multiple foci and toggle between them. Uses d3v4. Based on the answer to this question/answer (v3) on stack overflow and on the canonical force layout by Mike Bostock.

forked from Andrew-Reid‘s block: D3.force, multiple sets of multiple foci

index.html