Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*calculate max to determine scale */
- var colorScale = d3.scale.quantile()
- .domain([0, buckets - 1, d3.max(data, function (d) { return d.value; })])
- .range(colors);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement