Heatmap implementation