Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

node-link diagrams vs. adjacency matrix

Public visualization

Viewing a saved revision (read-only)

f232f82b2dab4665a221d8a820b396ec

node-link diagrams vs. adjacency matrix

0 stars0🌍 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