int bucketWidth = (int)Math.ceil((float)(max - min) / height);
int[] counts = count(bucketWidth, values);
int maxCount = max(counts);
StringBuilder out = new StringBuilder();
Formatter formatter = new Formatter(out);
formatter.format("%8d %" + width + "d", 0, maxCount);
rows[0] = out.toString();
for (int i = 0; i < counts.length; i++) {
out.setLength(0);
int bucketId = (int) (min + bucketWidth * i + bucketWidth / 2f);
PieGraph pieGraph = new PieGraph(width, new CharMarker(marker.get(i, bucketId), ' '));