force directed test
✓ Published0🌍 Public
RRobinL
Last edited Jul 31, 2016
Created on Jul 31, 2016
A hierarchical dataset from a CSV file is visualized as a force-directed graph, where nodes are sized proportionally to a square-root-scaled `data` value and rendered as circular foreign objects containing wrapped text. SVG lines connect parent and child nodes based on the data's structure. The visualization uses D3 v4's `d3.stratify`, `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCollide` to position nodes, which are grouped elements containing a circle and an `foreignObject` with HTML content. The layout dynamically adjusts node positions and text fit during each simulation tick.
AI-generated descriptionBuilt with blockbuilder.org
gpl-3.0 Licensed