Skip to main content
100%

Gist 25343a3f3f1b095b8cded6cfeff7c96c

✓ Published0🌍 Public
MMistyBlunch
Last edited Aug 14, 2018
Created on Aug 13, 2018

This example presents a force-directed network visualization built with D3’s `d3.forceSimulation` and rendered on a Canvas via `getImageData` pixel manipulation. It shows a clustered graph of nodes and links, with each node’s color and size derived from its degree and community membership, while links fade by weight. The code serves a local dataset through Python’s `SimpleHTTPServer` or `http.server`, and the layout is computed live as forces settle. Interactions include hover highlighting and drag-to-reposition nodes, both using D3’s event handlers on the simulation.

AI-generated description

Similar vizzes