Rainbow Colormaps

A poorly chosen colormap between values and colors can fool the human eyes to, e.g., pick out non-existing features, or to hide important features.

Common Implementations

Jet

Classic rainbow colormap gradient.

Turbo (Google)

Google’s take on providing an alternative to Jet to improve detail and assessment at the expense of accuracy. Provides an interesting evaluation of tradeoffs and why sometimes a rainbow map is the right choice.

You probably don’t want to use a rainbow

  1. The use of every color can make it unclear what the important information is.
  2. Each color has a different luminance, so a color in the middle of a rainbow map, may be perceived as brighter than a color on the ends. This also has a negative effect when printing in black and white.
  3. Rainbow maps don’t work well in terms of accessibility, CVD.

Once you see a rainbow maps, you’ll start seeing them everywhere. I started noticing I was stumbled across rainbow colormaps while researching Network Visualizations at work while reading: https://arxiv.org/pdf/2303.02514.pdf.

They’re not that bad, maybe?

Here’s another one showing current prices from ERCOT (ERCOT controls the electrical grid in Texas, USA) source: https://www.ercot.com/content/cdr/contours/rtmLmp.html.

ercot-rainbow

Here’s what it looks like in black and white, as well as with dichromal red blind CVD.

Resources


Related Notes