Sha256: 5ccc06b54bd97cd4cd04c54c4e32d6e5698e374094102125b9b448eb0daca205
Contents?: true
Size: 599 Bytes
Versions: 1
Compression:
Stored size: 599 Bytes
Contents
<html> <head> <title>Grid Heatmap</title> <script type="text/javascript" src="../../protovis-d3.3.js"></script> <script type="text/javascript" src="../heatmap.js"></script> </head> <body> <script type="text/javascript+protovis"> var vis = new pv.Panel() .width(heatmap[0].length * 6) .height(heatmap.length * 6); vis.add(pv.Layout.Grid) .rows(heatmap) .cell.add(pv.Bar) .fillStyle(pv.Scale.linear() .domain(95, 115, 135, 155, 175, 195) .range("#0a0", "#6c0", "#ee0", "#eb4", "#eb9", "#fff")); vis.render(); </script> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyvis-0.1.1 | vendor/tests/layout/grid-heatmap.html |