Graph Color

Match data types to color palettes/schemes

Perceptually Uniform Color Spaces

We want to perceive the difference between data by observing colors.

Distinctions In Data

With ggplot2

With Other Packages

library(RColorBrewer)
colors <- brew.pal(4, "Reds") # get the color codes
barplot(1:4,  col = colors)

Color Vision Deficiency

To make color vision deficiency (CVD) friendly graphs,

General Tips

Creative Commons License by zcysxy