Skip to main content
100%

Force-Directed Layout with Convex Hull

✓ Published0🌍 Public
OOussamaHOURIRA
Last edited Feb 15, 2018
Created on Feb 15, 2018

This example shows a force-directed layout of 100 nodes grouped into nine clusters, with a Voronoi diagram drawn as a convex hull overlay to partition the space. The visualization, built with D3 v4, uses `d3.forceSimulation` with many-body, position, collision, and centering forces to arrange the nodes. The Voronoi polygons, colored white, highlight each node's region on mouse hover, while the simulation runs for 120 ticks to settle the layout. The nodes and polygons are rendered as SVG elements, with animations triggered by user interaction.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes