Skip to main content
100%

t-SNE Voronoi

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Dec 12, 2016
Created on Dec 12, 2016

A t-SNE Voronoi diagram visualizes 200 random four-dimensional colors projected into two dimensions in real time. Each point is rendered as a polygon according to its Voronoi cell, colored by its RGB values and with opacity derived from its fourth dimension, while a grey line chart displays the algorithm's cost per iteration. The t-SNE computation runs in a JavaScript worker using science.ai's TSNE implementation, and the visualization is rendered with d3.v4's d3.voronoi, d3.area, d3.scaleLinear, and d3.timer APIs. The SVG output animates as points converge, with polygons updating their shape each frame.

AI-generated description

This is a t-SNE representation of a 4-dimensional array of (random) colours. The t-SNE is computed by a javascript worker, using science.ai's implementation. For eye-candy the end result is displayed as a Voronoi diagram.

Forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/14b38853005d051573da1f2e5429a477'>t-SNE worker</a>

Built with blockbuilder.org, so double-thank-you to @enjalot.

mit Licensed

Similar vizzes