How to generate activity map

I would like to have an activity map/diagram visualising the frequency of blog posts on my blog.
Similar to this one from GitHub:

Note that the GitHub one is more advanced than what I need in that it uses a gradient to indicate the number of changes. I don’t need that. I just want to plot a dot for each blog post over the year.

How do I approach this with Jekyll? I guess I need to iterate over something like site.pages and sort by dates - but then also generate a list of all weeks/days of the last year.

1 Like

You can sort the posts as per here and arrange them in years and months using group_by as here. Then you can do styling to present data as GitHub activity map.