var dataset = [];
for(var i = 0; i < 25; i++) {
var p = [Math.floor(Math.random() * w), Math.floor(Math.random() * h) ];
dataset.push(p);
}
var getX = function(d) { return d[0]; };
var getY = function(d) { return d[1]; };
var h = 400, w = 1000, padding = 20;