Optimizing the SVG Heatmap using the Sparkline measure pattern