mirror of
https://github.com/nikolaydubina/calendarheatmap.git
synced 2025-01-19 12:54:58 +02:00
Self-contained, plain Go implementation of calendar heatmap inspired by Github contribution activity.
Without labels, without separator
Example module:
countByDayOfYear := map[int]int{
1: 10,
22: 15,
150: 22,
366: 55,
}
img := charts.NewHeatmap(charts.HeatmapConfig{
Year: 2020,
CountByDay: countByDay,
ColorScale: colorscales.PuBu9,
DrawMonthSeparator: true,
DrawLabels: true,
...
})
Example script:
go run main.go -h
Description
📅 Calendar heatmap inspired by GitHub contribution activity
https://calendarheatmap.io/
Readme
MIT
33 MiB
Languages
Go
81.2%
HTML
16%
Makefile
2.8%