Coder Social home page Coder Social logo

sunitraut / heatmap-visualization-js Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 78 KB

A Heatmap Visualization Library for JavaScript

License: GNU General Public License v3.0

JavaScript 77.10% HTML 22.90%
heatmap visualization visualization-library visualization-tools webapp

heatmap-visualization-js's Introduction

Heatmap-Visualization-JS

GitHub release license DOI

A Heatmap Visualization Generation library for JavaScript

How to use this library

Installation

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>

Create HeatMap Object

var p = new HeatMap();

Define Region for 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);

Create HeatMap by adding data to region

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 you Like my Work, Buy me a Coffee!

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.

Buy Me A Coffee

heatmap-visualization-js's People

Contributors

sunitraut avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.