Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Social network Task2

Public visualization

Viewing a saved revision (read-only)

0b63ccf559d841d899d43096a7b631b4

Social network Task2

0 stars0🌍 Public
Ddineshtadepalli12
Last edited Apr 5, 2022
Created on Apr 5, 2022

This example shows a small social network of nine people connected by weighted links, with node labels displayed beside each circle. The graph uses a force-directed layout via `d3.layout.force` to position nodes, and link thickness is scaled by the square root of the weight value from the JSON data. Nodes are rendered as SVG circles and text, with drag interaction enabled through `force.drag`. The visualization reads its graph structure from `graph.json` and applies simple styling for green circles and blue labels.

AI-generated description