🌍 Public
Viewing a saved revision (read-only)
91a19771c3514f55b0eeaf090f08ae74
Fork of Force Directed Graph
A force-directed graph of a Dublin infection network, rendered as SVG with D3.js, is paired with an adjacency matrix to compare the two representations. Clicking a node highlights its corresponding row and column in the matrix, while clicking a matrix cell highlights its link in the graph. The visualization uses `d3.forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter`, supports zooming via `d3.zoom`, and applies node colors by group. The dataset comes from `infect-dublin.edges` and includes edge weights affecting link stroke width.
AI-generated description