Skip to content

GabiGrin/angular-heatmap

Repository files navigation

angular-heatmap

Heatmap directive for AngularJS

##What Renders visual data squares like Github's contributions area in a user's profile. The heatmap directive takes a matrix of values and a fixed array of colors, and will render a responsive heatmap.

##Install

$ bower install angular-heatmap --save-dev

Add ```angular-heatmap.js``` and ```angular-heatmap.css``` to the desired html file

Usage

<heatmap matrix="[[1, 2], [2, 3]]" colors = "['#0099ff', '#0088ee']"></heatmap>


###Demo and better documentation will come soon