Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Force Directed Graph

Public visualization

Fork of Force Directed Graph

0 stars0🌍 Public
Ssalwa191
Last edited May 4, 2021
Created on May 4, 2021

This visualization pairs a force-directed graph with an adjacency matrix of the same network, using d3.forceSimulation, d3.forceLink, and d3.drag to lay out and interact with nodes. Clicking a node highlights its corresponding row and column in the matrix, while the graph’s links are drawn as semi-transparent lines with widths proportional to edge value. The code loads edge data from a CSV file and maps node groups to a fixed color palette, with both views rendered as SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed