Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

IC8 - Bhavya - Social Network Graph

Public visualization

IC8 - Bhavya - Social Network Graph

0 stars0🌍 Public
Bbhavyapokuri123@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024

This interactive social network graph visualizes the hierarchical relationships between Indian states and their districts. The visualization uses a force-directed layout with `d3.forceSimulation`, applying `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` forces to position nodes. States appear as larger steelblue circles with white labels, while districts are smaller lightgreen circles with black text. The graph draws dashed gray reference lines from the center to each district, and data is fetched from a Gist CSV file and parsed using `d3.csvParse`. The layout updates dynamically through the simulation's tick event.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed