Skip to main content
100%

Gist 8989f184ab98d1e190581e18829af3be

✓ Published0🌍 Public
CConorAspell
Last edited Sep 18, 2021
Created on Sep 18, 2021

This example shows a force-directed graph of email communications, revealing clusters of senders and recipients by their connection strength. It uses D3’s `d3.forceSimulation` to compute node positions and `d3.forceLink` to manage edges, while a Canvas `getImageData` pixel readout colors nodes by their local density. The graph is drawn on a 2D canvas, with node size and color encoding degree centrality and community membership. Data is loaded from an external edge list, and the simulation runs continuously with a fade-in transition via `transition.attrTween` on opacity.

AI-generated description

Similar vizzes