This sample visualizes the percentage growth rate of individuals using the internet in a country compared to the overall population to the country.
In this example, you can see how to bind two-dimensional array object as datasource for heatmap and configure the Heatmap using the data adaptor support.
Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices.
Injecting Module
Heatmap component features are segregated into individual feature-wise modules. To use data adaptor support, we need
to inject Adaptor
module using Heatmap.Inject(Adaptor)
method and to use a tooltip,
inject the Tooltip
module using the Heatmap.Inject(Tooltip)
method.