Skip to main content
100%

Social Network graph - Manasa

✓ Published0🌍 Public
MManasa891-git
Last edited Apr 13, 2023
Created on Apr 13, 2023

This example shows a small social network as a force-directed graph with seven named nodes and six weighted links. Green circles represent people, with darker green strokes and maroon labels, and link thickness reflects the `weight` attribute from the JSON data. The visualization uses d3.layout.force from d3.v4 to position nodes, with drag interaction via `force.drag` and a tick handler that updates SVG line and circle positions. Data loads from the embedded `graphFile.json` file, and the graph is rendered entirely as SVG in a React-based Vite prototype.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes