{"version":"1.0","type":"rich","title":"K-Means Voronoi Relaxation","description":"This interactive visualization uses k-means clustering and Lloyd’s algorithm to relax a Voronoi diagram, normalizing the dispersion of 20,000 random points across 100 polygons. As the animation runs, each polygon’s center moves toward the centroid of its assigned points, equalizing polygon populations over successive steps. The SVG rendering uses D3 v4’s `d3.voronoi` for polygon generation, with color scaling from white to black indicating point density per cell, and text labels showing live counts. Buttons control start, stop, and redraw actions, while deviation statistics update in real time.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3986db72dc4b81db8e788dd837ee6e3b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}