version 1.0.0
in version 1.0.0, I am happy to finally introduce a fully-functioning heatmap. if you like this, don't forget to spam frontend related discord servers with the link to this repo, as this would really help raise good words of the repo.
features
- b593ead a tooltip that shows up on hover (#8)
- cc5300f display data from an array
- db4a86d the heatmap itself
props
you can presently pass in three props:
colours
: the colour of the squares from lightest to darkest, for each data-level from 0 to 4. example:['#ebedf0', '#c6e48b', '#40c463', '#30a14e', '#216e39']
.squaresNumber
: the number of squares to display. example:365
.count
: an array of contribution (commit) count for each square. example:[5, 3, 22, 3, 1]
.