2020-07-02 03:23:17 +08:00
|
|
|
[](https://goreportcard.com/report/github.com/nikolaydubina/calendarheatmap)
|
2020-12-21 16:44:52 +08:00
|
|
|
[](https://pkg.go.dev/github.com/nikolaydubina/calendarheatmap/charts)
|
2020-07-03 15:27:49 +08:00
|
|
|
[](https://codecov.io/gh/nikolaydubina/calendarheatmap)
|
2021-07-06 19:44:38 +08:00
|
|
|
[](https://github.com/avelino/awesome-go#science-and-data-analysis)
|
2020-07-03 10:56:33 +08:00
|
|
|
|
2021-04-17 00:45:58 +08:00
|
|
|
Self-contained, plain Go implementation of calendar heatmap inspired by GitHub contribution activity.
|
2020-07-02 03:02:51 +08:00
|
|
|
|
2020-07-11 20:56:29 +08:00
|
|
|
```
|
2021-04-22 15:34:22 +08:00
|
|
|
$ go install github.com/nikolaydubina/calendarheatmap@latest
|
2020-07-11 20:56:29 +08:00
|
|
|
$ echo '{
|
|
|
|
"2020-05-16": 8,
|
|
|
|
"2020-05-17": 13,
|
|
|
|
"2020-05-18": 5,
|
|
|
|
"2020-05-19": 8,
|
|
|
|
"2020-05-20": 5
|
2021-04-22 15:34:22 +08:00
|
|
|
}' | calendarheatmap > chart.png
|
2020-07-11 20:56:29 +08:00
|
|
|
```
|
|
|
|
|
2020-07-03 15:16:42 +08:00
|
|
|
Basic
|
2020-07-11 20:56:29 +08:00
|
|
|
|
2021-02-27 15:38:13 +00:00
|
|
|

|
2020-07-03 15:16:42 +08:00
|
|
|
|
2020-07-02 02:48:34 +08:00
|
|
|
Colorscales
|
2021-04-22 15:34:22 +08:00
|
|
|
|
2021-02-27 15:38:13 +00:00
|
|
|

|
|
|
|

|
|
|
|

|
2020-07-02 02:48:34 +08:00
|
|
|
|
2020-09-29 20:06:10 +08:00
|
|
|
UTF-8
|
2021-02-27 15:38:13 +00:00
|
|
|

|
2020-09-29 20:06:10 +08:00
|
|
|
|
2020-12-07 19:55:29 +08:00
|
|
|
SVG
|
2021-02-28 09:58:12 +08:00
|
|
|
|
2021-02-27 15:38:13 +00:00
|
|
|

|
2020-12-07 19:55:29 +08:00
|
|
|
|
2020-07-02 02:50:20 +08:00
|
|
|
Without month separator
|
2021-02-27 15:38:13 +00:00
|
|
|

|
2020-07-02 02:48:34 +08:00
|
|
|
|
2020-07-02 20:07:08 +08:00
|
|
|
Without labels
|
2021-02-27 15:38:13 +00:00
|
|
|

|
2020-07-02 20:07:08 +08:00
|
|
|
|
|
|
|
Without labels, without separator
|
2021-02-27 15:38:13 +00:00
|
|
|

|
2021-02-16 21:43:57 +08:00
|
|
|
|
|
|
|
## GitHub stars over time
|
|
|
|
|
|
|
|
[](https://starchart.cc/nikolaydubina/calendarheatmap)
|