Graph Example 4 for How to Create Effective Network Data Visualization
This example relies on the jLouvain library to calculate community structure of the network using the Louvain method.
A second smaller network is created from the communities and their connections to each other to provide a mini-map of the network.
This also includes a simple legend of the module numbers utilizing d3.legend.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js