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.