{"version":"1.0","type":"rich","title":"How to D3 Force Directed Layout Graph","description":"This example demonstrates a simple force-directed network graph with three nodes connected by three links, using Game of Thrones houses as node labels. The visualization renders circles and lines in SVG and relies on `d3.forceSimulation` to compute the layout, with `linkDistance(300)` set to space the nodes apart. Node positions update on each tick event, while `force.drag` enables interactive dragging. The code builds nodes and links from a hardcoded array of source-target pairs, stored as plain JavaScript objects, and styles the elements via CSS classes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e93c107dcc4141bf8dd283205bf82047?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}