blob: 44e9574295a465695e4559b724afd7eb410b9737 [file]
d3.round = function(x, n) {
return n
? Math.round(x * (n = Math.pow(10, n))) / n
: Math.round(x);
};