Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Unislink Network

Public visualization

Viewing a saved revision (read-only)

9cd4fc9e7eda4e0695728a0c68d047c7

Unislink Network

0 stars1🌍 Public
HHariharan1828
Last edited Jun 12, 2023
Created on Jun 12, 2023

This example demonstrates a minimal force-directed network layout with three named nodes and two links, showing how nodes naturally position themselves under simulated physical forces. Using the D3.js library, it initializes a `d3.forceSimulation` object with the node and link data, then applies three forces: `d3.forceManyBody()` for repulsion between all nodes, `d3.forceLink()` to pull connected nodes together, and `d3.forceCenter()` to keep the group anchored. The setup code defines the simulation but does not render the result to the screen.

AI-generated description