Force Directed Graph
✓ Published1🌍 Public
This example combines a force-directed node-link diagram with an adjacency matrix to visualize the same graph data in two coordinated views. Clicking a node in the left network highlights its corresponding row and column in the matrix, and vice versa. The layout is built with d3.forceSimulation, d3.forceLink, and d3.forceCenter, while the matrix cells are rendered as SVG rects with opacity encoding edge weight. Both views support zooming and dragging via d3.zoom and d3.drag.
AI-generated descriptionMIT Licensed