I have the following data set that I need to display on the heat map:
[ 30, 15, 66, 7, 9999, 78, 42, 132 ]
So if I map the values to the color scale using a linear function I only see the spike while the rest of the values I cannot tell apart because the difference between them is insignificant in the scale of that spike.
I tried a log function but it didn't get a good looking picture either.
I don't care about accurate correspondence between the value and the color intensity.
Is there a way to map the values to the color scale so that the difference between all values was visible? Can I mitigate that spike somehow? I am asking about established approaches or algorithms addressing problems like this.