Open pjcross opened 9 years ago
Color Brewer has lots of high quality categorical maps.
I would also look at http://tools.medialab.sciences-po.fr/iwanthue/theory.php. I'm trying to find a way to get past a palette of only 12 colors.
If we do #620, that would provide a mechanism to do this, though it wouldn't be an automatic feature for categorical variables (i.e. the color map would be changed for all variables, instead of just the categorical ones, which we wouldn't want). Perhaps we need to define types of color maps and provide different maps for continuous vs. discrete variables.
Our blue-white-red color map is great for continuous variables, but for categories we might want to have another choice. In particular, I was thinking of using Colin Ware's 12 colors recommended for labeling - red, green, yellow, blue, black, white, pink, cyan, gray, orange, brown, purple. We might have to play with the definition of gray or white a bit depending on the background.