I am looking for suggestions as how to create plots similar to GitHub punch cards with JFreeChart. E.g.
I guess it's some variant of a heat map, or two dimensional histogram.
Ok, so I found XYBubbleRenderer which looks like a good starting point.
MatrixSeries
with rows = 7, columns = 24MatrixSeriesCollection
from thatChartFactory.createBubbleChart
plot.getRenderer.setSeriesOutlinePaint(0, new Color(0, 0, 0, 0))
Calendar.DAY_OF_WEEK
)NumberTickUnit
for the y-axis to use day labels instead of numbersThe result: