An implementation of d3.layout.forceInABox which implements a method to separate nodes in a network visually based on some kind of group membership.
In this case, the group is the community membership of the node as determined by Louvain modularity using jLouvain.js.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.min.js