Skip to main content
100%

Fork of Network graph of Social Connections

✓ Published0🌍 Public
MManideepChakilam
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example visualizes a small social network as an interactive force-directed graph, displaying seven named individuals and the connections between them. Nodes are rendered as cyan circles with maroon outlines, while green links represent relationships, with thicker lines indicating stronger ties based on a weight value from the JSON data. The graph uses the older `d3.layout.force` API from d3.v2, loading data from `graphFile.json` via `d3.json`. Users can click and drag nodes to reposition them, with the simulation updating positions on each tick. The visualization is built with SVG within a React framework.

AI-generated description

See also React Starter.

MIT Licensed

Similar vizzes