Forked from Gregor Aisch's Block simple tables in D3.
Inspired by a question posted in the comments about using the cell values in a given row to color code the background of that cell.
scrolling: yes | |
license: MIT |
license: gpl-3.0 |
height: 540 |
var multiCrowbar = (function() { | |
/* | |
* SVG Export | |
* converts html labels to svg text nodes | |
* will produce incorrect results when used with multi-line html texts | |
* | |
* Author: Gregor Aisch | |
* based on https://github.com/NYTimes/svg-crowbar/blob/gh-pages/svg-crowbar-2.js | |
*/ |
<html> | |
<head> | |
<title>D3 in Action Chapter 11 - Example 8</title> | |
<meta charset="utf-8" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> | |
</head> | |
<style> | |
body, html { | |
margin: 0; | |
} |
license: mit |
license: mit |
license: gpl-3.0 |
Forked from Gregor Aisch's Block simple tables in D3.
Inspired by a question posted in the comments about using the cell values in a given row to color code the background of that cell.
K-Means Unsupervised Learning Algorithm