Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Node2Vec Force-Directed Graph

Public visualization

Fork of Node2Vec Force-Directed Graph

0 stars0🌍 Public
Rrobinjohn.inc@gmail.com
Last edited Jul 12, 2024
Created on Jul 12, 2024

This example shows a force-directed graph of character co-occurrences in the novel *Les Misérables*, with nodes colored randomly by group and labeled with character names. The code uses D3 v7’s `forceSimulation`, `forceLink`, `forceManyBody`, and `forceCenter` to layout the network, while `drag` and `zoom` enable interaction. Data is fetched from a remote `miserables.json` file, and the SVG rendering includes links as lines and nodes as circles with text labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed