Heatmap works based on the values of total instances of the application for the given process instance status and total instances that executed each workstep for the given activity status.
The heatmap algorithm uses nine different bins to uniformly distribute the process instance count of the selected application into them. Each bin in the heatmap has an associated fill color as shown in the following figure. Bin number starts from zero.