Refactored 'Heatmap' widget.