Skip to main content
100%

Node-Link Graph

✓ Published0🌍 Public
SShayRomayo
Last edited Mar 3, 2018
Created on Mar 3, 2018

A force-directed node-link graph visualizes a network of 200 nodes and over 400 undirected edges derived from a CSV file. The p5.js sketch implements a custom layout simulation, iteratively calculating repulsive forces between all node pairs and attractive forces along edges to position vertices. Nodes are rendered as purple ellipses, edges as black lines, and hovering over a node highlights its adjacent edges in cyan while displaying the node ID. The code uses p5.js functions like `loadTable`, `dist`, and `ellipse` to handle data loading, interaction, and drawing.

AI-generated description

Similar vizzes