Added code to color based on cumulative counts