corrected d3 colorMap for new result data format