Fork of Network
✓ Published0🌍 Public
This example uses D3 v7 to visualize a small clothing relationship network with a force-directed layout. Eight nodes represent clothing categories (Boys, Girls) and items (T-Shirt, Shorts, Shirt, Jeans, Skirt, Saree), while nine links show group assignments and outfit pairings. The code creates an SVG canvas and applies `d3.forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter` to position the elements. Groups appear in blue, items in green, with labels offset beside each node. A title marks the chart as an "Outfits Relationship Network."
AI-generated descriptionMIT Licensed