Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Force Network

Public visualization

Force Network

0 stars0🌍 Public
Rrushithareddyy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from D3 Starter

This force-directed network visualizes the relationships between actors, directors, and films, with nodes colored by their type (actor, director, or film) and links weighted by the number of collaborations. The layout uses `d3.forceSimulation` with `forceLink`, `forceManyBody`, `forceCollide`, and `forceCenter` forces to position nodes, while user interaction is handled via `d3.drag` to manually reposition them. Node labels are displayed, and hovering highlights the node with a blue stroke. The data is loaded from `data.json` and rendered as an SVG, with markers on links to indicate direction.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed