Testing if ( val && val < min ) means that values of 0 will not count. That doesn't seem correct to me.
Allow for 0 in values.
Also allow for setting the colors based on 0 values.
Don't let min == max, resulting in everything being colored with the …
👍 Looks Good, Merging Now ( sorry for the delay, I moved cross country and took on a new job ).