First tentative.
Made by Philippe Rivière with d3.js and seracio/kohonen.
Same maths, differents color spaces:
xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<title>Kohonen SOM</title>
<script src="./vendor.js"></script>
<script src="./app.js"></script>
<script>require('initialize');</script>
</head>
<body>
<div id="app"></div>
<p> 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>.
</body>
</html>