Using svg gradients to make heatmaps in d3