Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SunitRaut authored Jan 5, 2021
1 parent 5fe0b61 commit 02fb673
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# heatmap-js
# Heatmap-Visualization-JS

How to use this library
A Heatmap Visualization Generation library for JavaScript

# Installation:
# How to use this library

## Installation

Embed within html using <script> tag
<script src= "https://SunitRaut.github.io/heatmap-js/heatmap.js" > </script>

# Create HeatMap Object
### Create HeatMap Object
var p = new HeatMap();

# Define Region for HeatMap
### Define Region for HeatMap
var region = p.defineRegion(loc);

# Create HeatMap by adding data to region
### Create HeatMap by adding data to region
var heatmap = p.createHeatMap(data);

Check Demo here: https://SunitRaut.github.io/heatmap-js/example

0 comments on commit 02fb673

Please sign in to comment.