What is a Heatmap Chart
What is a Heatmap chart
The Heatmap chart 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.
Basic Heatmap Sample
let data: any [] = [ [73, 39, 26, 39, 94, 0], [93, 58, 53, 38, 26, 68], [99, 28, 22, 4, 66, 90], [14, 26, 97, 69, 69, 3], [7, 46, 47, 47, 88, 6], [41, 55, 73, 23, 3, 79], ]; let heatmap: HeatMap = new HeatMap({ titleSettings: { text: 'Sales Revenue per Employee (in 1000 US$)', textStyle: { size: '15px', fontWeight: '500', fontStyle: 'Normal', fontFamily: 'Segoe UI' } }, xAxis: { labels: ['Nancy', 'Andrew', 'Janet', 'Margaret', 'Steven', 'Michael'], }, yAxis: { labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], }, dataSource: data, }); heatmap.appendTo('#container');
Output be like the below.
Sample: https://stackblitz.com/edit/bafpzz?file=index.ts
Documentation: https://ej2.syncfusion.com/documentation/heatmap-chart/getting-started
Conclusion
I hope you enjoyed learning about what is a Heatmap Chart.
You can refer to our JavaScript Heatmap Chart feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Heatmap Chart example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!