variant heatmap draws the data that fits into canvas