A highly customizable JavaScript library for generating interactive heatmaps. It transforms data into smooth, visually intuitive heat layers, making patterns and intensity easy to spot at a glance.
$ dotnet add package jHeat.js🌞 A highly customizable JavaScript library for generating interactive heatmaps. It transforms data into smooth, visually intuitive heat layers, making patterns and intensity easy to spot at a glance.
All the documentation can be found here.
All modern browsers (such as Google Chrome, FireFox, and Opera) are fully supported.
af Afrikaansam Amharicar Arabichy Armenianbe Belarusianbn Bengalibg Bulgarianca Catalanzh Chinese (simplified)da Danishnl Dutchen English (default)eo Esperantoet Estonianfa Farsifi Finnishfr Frenchfy Frisiangl Galicianka Georgiande Germanel Greekgu Gujaratiha Hausahe Hebrewhi Hindihu Hungarianis Icelandicid Indonesianga Irishit Italianja Japanesejv Javanesekn Kannadako Koreanlv Latvianlt Lithuanianlb Luxembourgishms Malaymr Marathine Nepalino Norwegianpl Polishpt Portuguesero Romaniansi Sinhalesesk Slovaksl Slovenianes Spanishsw Swahilisv Swedishtl Tagalogta Tamilzh-tw Taiwanesete Teluguth Thaitr Turkishuk Ukrainianur Urduvi Vietnamesecsv Comma-Separated Valuesjson JavaScript Object Notationxml Extensible Markup Languagetxt Texthtml Hypertext Markup Languagemd Markdowntsv Tab-Separated Valuesyaml YAML Ain't Markup Languagetoml Tom's Obvious Minimal Languagecsv Comma-Separated Valuesjson JavaScript Object Notationtxt Textmd Markdowntsv Tab-Separated Valuesyaml YAML Ain't Markup Languagetoml Tom's Obvious Minimal LanguageTo see a list of all the most recent changes, click here.
You can install the library with npm into your local modules directory using the following command:
npm install jheat.js
Or, you can download the latest zipped up version here.
Or, you can also use the following CDN links:
https://cdn.jsdelivr.net/gh/williamtroup/Heat.js@5.0.1/dist/heat.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Heat.js@5.0.1/dist/heat.js.min.css
To get started using Heat.js, do the following steps:
Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows:
<!DOCTYPE html>
<link rel="stylesheet" href="dist/heat.js.css">
<script src="dist/heat.js"></script>
<div id="heat-map" data-heat-js="{ 'views': { 'map': { 'showDayNames': true } } }">
Your HTML.
</div>
To see a list of all the available binding options you can use for "data-heat-js", click here.
To see a list of all the available custom triggers you can use for "data-heat-js", click here.
Now, you can add/remove dates, which will update the heat map automatically!
<script>
let newDateObject = new Date();
$heat.addDate( "heat-map", newDateObject, "Trend Type 1", true );
$heat.removeDate( "heat-map", newDateObject, "Trend Type 1", true );
</script>
That's it! Nice and simple. Please refer to the code if you need more help (fully documented).
To customize, and get more out of Heat.js, please read through the following documentation.
To see a list of all the public functions available, click here.
Configuration options allow you to customize how Heat.js will function. You can set them as follows:
<script>
$heat.setConfiguration( {
safeMode: false
} );
</script>
To see a list of all the available configuration options you can use, click here.