color palettes
Color palettes are a central tool in data visualization. Thus, it's important to learn which color scale to use when. And for any visualization using color, please make sure to use colorblind safe palettes:
color blind friendly palettes
If you just want a color blind color scale, here are some great resources:
- Okabe Ito colorblind safe palette: In addition to the linked palette, the website also gives good recommendations for colorblind proofing figures.
- Paul Tol's selection of color-blind sage palettes
- Color Brewer 2:
With this interactive color palette chooser, you can select sequential, diverging and qualitative colo scales.
It has a checkbox to restrict results to colorblind safe palettes.
In R, these color palettes are directly available in the
ggplot2
package via thescale_colour_brewer()
, or generally in R via theRColorBrewer
package.
If you're looking for a thorough introduction to the topic, datawrapper has you covered with a three-part blog series: