Untitled
✓ Published0🌍 Public
A force-directed graph displays a small hierarchy of D3 module names, with nodes connected by links to show parent-child relationships. The visualization uses d3.layout.force to simulate physical forces, while a custom tick function pushes source nodes upward and target nodes downward, creating a weak tree structure. Nodes are rendered as colored circles using d3.scale.category20, and the data comes from a local graph.json file containing seven nodes and six links.
AI-generated descriptionSmily face
MIT Licensed