Kohonen SOM
A self-organizing map arranges random points in 3D color space onto a hexagonal grid, with each grid cell colored via d3.lab. The animation shows 500 data points and 144 neuron positions transitioning as the kohonen library trains the network. Built with d3.js and the seracio/kohonen library, the example uses SVG circles with fill-opacity transitions to reveal the mapping process.
AI-generated descriptionCreating a self-organizing map (SOM)
First tentative.
Made by Philippe Rivière with <a href="https://d3js.org/">d3.js</a> and <a href="https://github.com/seracio/kohonen">seracio/kohonen</a>.
Same maths, differents color spaces:
<a href='http://bl.ocks.org/Fil/ae11126ae728cb2af627db6a3dfa756b'>d3.rgb()</a>
<a href='http://bl.ocks.org/Fil/77442da6f83ad6e36076b5ebe38d63da'>d3.hsl()</a>
<a href='http://bl.ocks.org/Fil/1832095c0cc2ccfa07c11e2fcb8f723d'>d3.lab()</a>
<a href='http://bl.ocks.org/Fil/70dccbad91ffcf253387645fadb94614'>d3.cubehelix()</a>