Demos

Explore interactive demos to see our features in action. Try them out and discover how they can work for you.

Chart View

Explore a simple example of a basic Heat.js instance configured to show the 'Chart' view by default.

Include Files

Make sure you include the following files:

<link rel="stylesheet" href="dist/heat.js.min.css">
<script src="dist/heat.min.js"></script>

Create DOM Element

Add a new DOM element to house the Heat.js instance:

<div id="heat-map" id="heat-map" data-heat-js="{ 'defaultView': 'chart' }"></div>

Result


More Information

Want to do more with this view? Explore the full documentation here.