This sample visualizes the GDP growth rate for the countries which are the world's major economies over the years.
In this example, you can see how to bind array object as data source for Heatmap and configure the Heatmap using the data adaptor support. You can directly bind the array object to the Heatmap data source with default property settings. The tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item on touch-enabled devices. Injecting Module Heatmap component features are separated into discrete feature-based modules. To use data adaptor support, we need to inject Adaptor module using Heatmap.Inject(Adaptor) method, to use a tooltip, inject theTooltip module using the Heatmap.Inject(Tooltip) method, and to use a legend, inject the Legend module using the Heatmap.Inject(Legend) method.