🌍 Public
Social network-ICE 8_Archana Goli
This example visualizes a small social network of ten people connected by twelve friendship links. The network uses a force-directed graph layout driven by `d3.forceSimulation`, with forces for link distance, charge repulsion, collision avoidance, and centering. Nodes are rendered as cyan circles with labels, while links are drawn as lines with directional arrow markers. The visualization loads its node and link data from a JSON file, applies `d3.forceLink` to map source and target IDs, and supports interactive dragging via `d3.drag` with hover highlighting through CSS classes.
AI-generated descriptionMIT Licensed








Comments
Sign in to join the discussion.