Skip to main content
100%

node-link diagrams vs. adjacency matrix

✓ Published0🌍 Public
Wwinniepooh520
Last edited Nov 8, 2020
Created on Nov 8, 2020

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
MIT Licensed

Similar vizzes