A Heatmap Visualization Generation library for JavaScript
Embed within html using <script> tag
<script src= "https://SunitRaut.github.io/Heatmap-Visualization-JS/heatmap.js" > </script>
For faster download, you may embed the minified version instead
<script src= "https://SunitRaut.github.io/Heatmap-Visualization-JS/heatmap-minified.js" > </script>
var p = new HeatMap();
var loc = [[19.0454,72.8891],[19.045,72.8893],[19.0459,72.8894],[19.0452,72.8897],[19.0458,72.8898],[19.0458,72.8903],[19.0452,72.8903]];
var region = p.defineRegion(loc);
var data = [12,43,64,53,34,23,38];
var heatmap = p.createHeatMap(data);
Check Demo here: https://SunitRaut.github.io/Heatmap-Visualization-JS/example
If this library makes your life easier and has helped bring your project to reality, I would appreciate a small token of gratitude. Click on the below icon to contribute.