# @syncfusion/ej2-heatmap

> Feature rich data visulization control used to visualize the matrix data where the individual values are represented as colors

Latest version **35.1.37** (published 2026-09-29) · SEE LICENSE IN license license · 0 weekly downloads

## Install

```sh
npm install @syncfusion/ej2-heatmap
pnpm add @syncfusion/ej2-heatmap
yarn add @syncfusion/ej2-heatmap
bun add @syncfusion/ej2-heatmap
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 35.1.37 |
| Published | 2026-09-29 |
| First published | 2018-06-25 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN license |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 5.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 448 |
| Author | Syncfusion Inc. |
| Maintainers | syncfusionorg, essentialjs2, syncfusion-javascript |
| Keywords | ej2, syncfusion, web components, data visualization, heatmap, heatmap chart, matrix chart, grid chart, heat map, bubble heatmap, calendar heatmap, rectangular heatmap, sector heatmap, axis, datetime axis, category axis, numeric axis, labels, multi-level labels, selection, palette, colors, legend |

## Links

- npm: https://www.npmjs.com/package/@syncfusion/ej2-heatmap
- Repository: https://github.com/syncfusion/ej2-javascript-ui-controls.git#master
- Homepage: https://www.syncfusion.com/javascript-ui-controls
- Issues: https://github.com/syncfusion/ej2-javascript-ui-controls/issues
- npm.io page: https://npm.io/package/@syncfusion/ej2-heatmap

## Dependencies (6)

- [@syncfusion/ej2-base](https://npm.io/package/@syncfusion/ej2-base.md) ~35.1.37
- [@syncfusion/ej2-data](https://npm.io/package/@syncfusion/ej2-data.md) ~35.1.37
- [@syncfusion/ej2-svg-base](https://npm.io/package/@syncfusion/ej2-svg-base.md) ~35.1.37
- [@syncfusion/ej2-file-utils](https://npm.io/package/@syncfusion/ej2-file-utils.md) ~35.1.37
- [@syncfusion/ej2-pdf-export](https://npm.io/package/@syncfusion/ej2-pdf-export.md) ~35.1.37
- [@syncfusion/ej2-compression](https://npm.io/package/@syncfusion/ej2-compression.md) ~35.1.37

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 35.1.37 (latest) — 2026-09-29
- 34.2.8 — 2026-09-15
- 34.2.6 — 2026-09-01
- 34.2.5 — 2026-08-25
- 34.2.2 — 2026-08-05
- 34.1.33 — 2026-07-28
- 34.1.29 — 2026-07-06
- 33.2.3 — 2026-04-21
- 33.1.44 — 2026-03-16
- 32.2.3 — 2026-02-05
- 32.1.24 — 2026-01-20
- 32.1.19 — 2025-12-16
- 31.2.12 — 2025-11-18
- 31.2.2 — 2025-10-15
- 31.1.21 — 2025-09-23
- … 117 more at https://npm.io/package/@syncfusion/ej2-heatmap/versions

## README

# JavaScript HeatMap Control

The [JavaScript HeatMap](https://www.syncfusion.com/javascript-ui-controls/js-heatmap-chart?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm) control is a graphical representation of two-dimensional data where the values are represented with gradient or solid color variations. The data points are rendered as HeatMap cells using Scalable Vector Graphics (SVG) or canvas UI rendering.

<p align="center">
    <a href="https://ej2.syncfusion.com/documentation/heatmap-chart/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm">Getting started</a> . 
    <a href="https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm#/material/heatmap-chart/default.html">Online demos</a> . 
    <a href="https://www.syncfusion.com/javascript-ui-controls/js-heatmap-chart?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm">Learn more</a>
</p>

<p align="center">
    <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/javascript/javascript-heatmap-chart.png" alt="JavaScript HeatMap Control">
</p>

<p align="center">
Trusted by the world's leading companies
  <a href="https://www.syncfusion.com">
    <img src="https://ej2.syncfusion.com/home/images/trusted_companies.png" alt="Bootstrap logo">
  </a>
</p>

> **Using this package with an AI coding agent**
>
> Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
>
> ```text
> Set up this project for Syncfusion before generating code. Fetch
> and follow the official instructions at https://ai.syncfusion.com,
> then report the detected platform, installed skill pack, MCP
> status, and any required licensing action.
> ```
> The setup detects your project’s platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
>
> **Platform reference:** [https://ai.syncfusion.com/javascript/llms.txt](https://ai.syncfusion.com/javascript/llms.txt)

## Setup

To install the HeatMap and its dependent packages, use the following command.

```sh
npm install @syncfusion/ej2-heatmap
```

## Supported frameworks

HeatMap control is also offered in the following list of frameworks.

| [<img src="https://ej2.syncfusion.com/github/images/angular-new.svg" height="50" />](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg"  height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | 
| :-----: | :-----: | :-----: | :-----: | :-----: |

## Showcase samples

* Annual Flight Traffic Report - [Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=javascript-heatmap-npm#/material/heatmap-chart/large-data.html)
* Expense Tracker - [Source](https://github.com/syncfusion/ej2-sample-ts-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/expensetracker/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm#/dashboard)
* Loan Calculator - [Source](https://github.com/syncfusion/ej2-sample-ts-loancalculator), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm)

## Key features

* [Data binding](https://ej2.syncfusion.com/documentation/heatmap-chart/working-with-data/?utm_source=npm&utm_campaign=javascript-heatmap-npm): Binding data in JSON and two-dimensional array formats is supported.
* [Axis types](https://ej2.syncfusion.com/documentation/heatmap-chart/axis/?utm_source=npm&utm_campaign=javascript-heatmap-npm#types): Supports three different types of axes to populate the data, namely Numerical, Categorical and DateTime.
* [Axis](https://ej2.syncfusion.com/documentation/heatmap-chart/axis/?utm_source=npm&utm_campaign=javascript-heatmap-npm#inversed-axis): Supports inverted axis, opposed position and axis intervals.
* [Rendering modes](https://ej2.syncfusion.com/documentation/heatmap-chart/rendering-mode/?utm_source=npm&utm_campaign=javascript-heatmap-npm): Supports automatic switching between SVG and Canvas rendering modes based on the data source length.
* [Palette](https://ej2.syncfusion.com/documentation/heatmap-chart/palette/?utm_source=npm&utm_campaign=javascript-heatmap-npm): Different colors are provided for different value ranges to be used in the cells.
* [Legend](https://ej2.syncfusion.com/documentation/heatmap-chart/legend/?utm_source=npm&utm_campaign=javascript-heatmap-npm): Summarizes the information for the colors which represents each values in HeatMap.
* [Tooltip](https://ej2.syncfusion.com/documentation/heatmap-chart/tooltip/?utm_source=npm&utm_campaign=javascript-heatmap-npm): Provides information about the cell values on hover.
* [Selection](https://ej2.syncfusion.com/documentation/heatmap-chart/selection/?utm_source=npm&utm_campaign=javascript-heatmap-npm): Supports selecting the cells that will be the center of attraction.
* [Templates](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=javascript-heatmap-npm#/material/heatmap-chart/tooltip-template.html): Templates can be used to create custom user experience in the tooltip of the heatmap.

## Resources

* [Documentation](https://ej2.syncfusion.com/documentation/heatmap-chart/getting-started)
* [Theme Studio](https://ej2.syncfusion.com/themestudio/)
* [Custom Resource Generator](https://crg.syncfusion.com/)
* [What's New](https://www.syncfusion.com/products/whatsnew/essential-js2?utm_medium=listing&utm_source=github)
* [Road Map](https://www.syncfusion.com/products/roadmap/essential-js2?utm_medium=listing&utm_source=github)
* [E-Books](https://www.syncfusion.com/ebooks?tag=javascript&utm_medium=listing&utm_source=github)

## Support

Product support is available through the following mediums.

* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
* [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm)
* [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new)
* [Request feature or report bug](https://www.syncfusion.com/feedback/javascript?utm_source=npm&utm_medium=listing&utm_campaign=javascript-heatmap-npm)
* Live chat

## Changelog

Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/heatmap/CHANGELOG.md). Get minor improvements and bug fixes every week to stay up to date with frequent updates.

## License and copyright

> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this control, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 140+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).

> A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=javascript-heatmap-npm) for more info.

© Copyright 2026 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.

---
_Source: https://npm.io/package/@syncfusion/ej2-heatmap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
