Group Clustering
This example demonstrates interactive group clustering of 12 data points, each representing an item with attributes like Location, Group, Class, and Type from a CSV file. Users can click toolbar buttons to split the circles by any categorical variable, causing them to separate into distinct clusters via force-directed simulation. The visualization uses d3.forceSimulation with collide, many-body, and x/y forces for positioning, while d3.drag enables manual repositioning of individual circles. The SVG rendering colors each node using d3.scaleOrdinal with a categorical color scheme, and selecting a circle highlights it by removing its fill.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/SpaceActuary/'>SpaceActuary</a>'s block: <a href='http://bl.ocks.org/SpaceActuary/d6b5ca8e5fb17842d652d0de21e88a05'>Group Clustering</a>