{"version":"1.0","type":"rich","title":"K Means","description":"This visualization demonstrates k-means clustering on EEG data, showing how four centroids iteratively partition points into clusters based on their F3 and P4 channel values. The animation runs for ten iterations, updating cluster assignments and recalculating centroid positions with each step. The code uses d3.csv to load the dataset, d3.schemeCategory10 for cluster colors, d3.mean for computing cluster centers, and D3 transitions to animate point movements and color changes. A setInterval drives the iterative process, while text elements display the current iteration number.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/92f0077f9f394fb4a3e82df25b764436?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}