aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/static/new/javascript/create_heatmap.js
blob: f3ae2a466f5abedb7c7e7bc42b0a440c3c8e0824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Generated by CoffeeScript 1.8.0
var create_heatmap;

create_heatmap = function() {
  var data, h, mychart, w;
  h = 500;
  w = 1200;
  mychart = lodheatmap().height(h).width(w);
  data = js_data.json_data;
  console.log("data:", data);
  return d3.select("div#chart").datum(data).call(mychart);
};

create_heatmap();