Skip to main content
100%

Fork of Force Directed Graph

✓ Published0🌍 Public
ZZhou180
Last edited Jan 27, 2021
Created on Jan 27, 2021

This example displays a force-directed graph of 410 nodes with 5 color-coded groups, alongside an adjacency matrix visualization rendered as a separate SVG. The force layout uses `d3.forceSimulation` with link, charge, and center forces, while nodes are draggable and the view supports zooming. The adjacency matrix is built with `d3.scaleBand` axes and colored rects reflecting node groups. Both visualizations update together, with node IDs matching between the graph and matrix.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes