Assignment2_Task7_NetworkGraph
✓ Published0🌍 Public
This example visualizes the Vijayanagara family lineage as an interactive network graph. It renders a force-directed layout where nodes represent historical figures and links depict familial relationships. The graph uses d3.forceSimulation with forceLink, forceManyBody, forceCollide, and forceCenter to position the nodes, which are drawn as lightblue circles with labels. The code loads data from a JSON file via d3.json and renders the visualization in SVG, with node colors, text styling, and link strokes defined in CSS.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed