🌍 Public
Viewing a saved revision (read-only)
f232f82b2dab4665a221d8a820b396ec
node-link diagrams vs. adjacency matrix
This example compares node-link diagrams and adjacency matrices for visualizing a network, using data from the infect-dublin.edges dataset. The node-link view uses d3.forceSimulation to position 410 nodes, while an adjacency matrix rendered as SVG cells shows the same connections. Clicking a node or matrix cell highlights the corresponding row and column in the matrix. The code uses d3.csv for data loading and d3.zoom for interactive scaling on the node-link view.
AI-generated description