D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
tmcw
Full window
Github gist
kmeans wip
<!DOCTYPE html> <html> <head> <script src="https://d3js.org/d3.v2.js"></script> <style> body { margin: 0; padding: 0; font:normal 12px/20px sans-serif; } #vis { width: 640px; } circle.control { fill: #d23634; } text.controltext { text-anchor:middle; } </style> </head> <body> <div id='vis'> <script src='kmeans-diagram.js'></script> </div> </body> </html>
Modified
http://d3js.org/d3.v2.js
to a secure url
https://d3js.org/d3.v2.js