Derivation of Heat maps

How are the heat maps calculated? Is it based on number of records or record values?

It is based on the number of markers