Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Social_Network_graph_ICE-8

Public visualization

Social_Network_graph_ICE-8

0 stars0🌍 Public
Aayodhyanandh
Last edited Apr 13, 2023
Created on Apr 13, 2023

A social network graph displays nine named individuals connected by weighted links, with node size fixed and link thickness proportional to edge weight. Using the D3 v4 force layout, the visualization loads data from a JSON file containing nodes grouped by affiliation and links with numeric weights. SVG elements render the graph, with green circles and black text labels for each person. The force simulation applies gravity, distance constraints, and charge to position nodes, while user interaction enables dragging. The code employs `d3.layout.force`, `.start()`, and tick handlers to update line and node positions dynamically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed