111
✓ Published1🌍 Public
This example pairs a force-directed graph with an adjacency matrix to visualize network relationships. Clicking a node in the graph highlights its corresponding row and column in the matrix, while clicking a matrix cell identifies the linked nodes or notes the absence of a link. The graph uses d3.forceSimulation with forceLink and forceManyBody for layout, and the matrix applies fill opacity based on edge weight. Both views support zooming via d3.zoom and dragging via d3.drag, with data rendered as SVG elements.
AI-generated descriptionMIT Licensed