Gist d41ea27d12bc9ff61b37319170e10898
✓ Published0🌍 Public
Aakeshavan
Last edited Sep 3, 2017
Created on Sep 2, 2017
This example visualizes hierarchical clustering of a brain connectivity graph using a force-directed layout. It loads a Desikan parcellation graph from a GraphML file, computes linkage clusters with scipy’s `linkage` and `fcluster`, and encodes cluster memberships at six levels into node names. The interactive rendering, embedded via an iframe from CodePen, uses d3.forceSimulation to display the nodes and their connections, with node sizes reflecting connection counts and names combining cluster labels and anatomical region names.
AI-generated description