score:0

To do that, you need to change the size of the pack layout using the .size() function. You could use a scale to make it scale with the maximum number, e.g.

var s = d3.scale.sqrt().domain([min, max]).range([100, 500]);
packLayout.size([s(thisMax), s(thisMax)]);

Related Query

More Query from same tag