Heatmap implementation + example