final DefaultCategoryDataset result = new DefaultCategoryDataset();
for (int r = 0; r < data.length; r++) {
final String rowKey = rowKeyPrefix + (r + 1);
for (int c = 0; c < data[r].length; c++) {
final String columnKey = columnKeyPrefix + (c + 1);
result.addValue(new Double(data[r][c]), rowKey, columnKey);
}
}
return result;
}