Skip to main content
100%

Fork of Social Network graph

✓ Published1🌍 Public
NNaimisha-M
Last edited Jul 8, 2022
Created on Jul 8, 2022

This fork of a social network graph visualizes nine individuals ("Rohith" through "ravi") as labeled nodes connected by weighted green links, with node positions determined by a force-directed layout. The example loads data from `graph.json` and renders it as SVG using D3’s legacy `d3.layout.force` API from d3.v2/v4, setting gravity, charge, and link distance parameters. Each node appears as a circle with a blue text label, and link stroke-width reflects the `weight` value from the JSON data. Users can click and drag nodes to reposition them, with the `force` tick handler updating link coordinates and node transformations.

AI-generated description
MIT Licensed

Similar vizzes