block by john-guerra ecdde32ab4ad91a1a240

Javascript Network Clustering Library

Full Screen

netClustering allows you to detect clusters in networks using the Clauset, Newman and Moore community detection algorithm directly from the browser, as simple as:

netClustering.cluster(nodes, edges);

and the clusters will be stored in the .cluster attribute of the nodes.

This demo shows how to use the library applying to the standard D3 Force directed layout demo. Click on the cluster button to detect the communities on the sample dataset.

Download the library at the netClustering gitHub repository

index.html

miserables.json