Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikolaydubina/calendarheatmap

📅 Calendar heatmap inspired by GitHub contribution activity
https://github.com/nikolaydubina/calendarheatmap

cli data-visualization go web webassembly

Last synced: 15 days ago
JSON representation

📅 Calendar heatmap inspired by GitHub contribution activity

Awesome Lists containing this project

README

        

[![Go Report Card](https://goreportcard.com/badge/github.com/nikolaydubina/calendarheatmap)](https://goreportcard.com/report/github.com/nikolaydubina/calendarheatmap)
[![Go Reference](https://pkg.go.dev/badge/github.com/nikolaydubina/calendarheatmap/charts.svg)](https://pkg.go.dev/github.com/nikolaydubina/calendarheatmap/charts)
[![codecov](https://codecov.io/gh/nikolaydubina/calendarheatmap/branch/master/graph/badge.svg)](https://codecov.io/gh/nikolaydubina/calendarheatmap)
[![Tests](https://github.com/nikolaydubina/calendarheatmap/workflows/Tests/badge.svg)](https://github.com/nikolaydubina/calendarheatmap/actions)
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/avelino/awesome-go#science-and-data-analysis)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/nikolaydubina/calendarheatmap/badge)](https://securityscorecards.dev/viewer/?uri=github.com/nikolaydubina/calendarheatmap)

Self-contained, plain Go implementation of calendar heatmap inspired by GitHub contribution activity available via CLI and [calendarheatmap.io](https://calendarheatmap.io)

```
$ go install github.com/nikolaydubina/calendarheatmap@latest
$ echo '{
"2020-05-16": 8,
"2020-05-17": 13,
"2020-05-18": 5,
"2020-05-19": 8,
"2020-05-20": 5
}' | calendarheatmap > chart.png
```

Basic

![basic](docs/basic.png)

Colorscales

![col1](docs/colorscale-1.png)
![col2](docs/colorscale-2.png)
![col2](docs/colorscale-3.png)

UTF-8
![col1](docs/korean.png)

SVG

![svg](docs/korean.svg)

Without month separator
![nosep](docs/noseparator.png)

Without labels
![nolab](docs/nolabels.png)

Without labels, without separator
![nosep_nolab](docs/noseparator_nolabels.png)