clauswilke / dataviz

A book covering the fundamentals of data visualization
https://clauswilke.com/dataviz
Other
3.2k stars 701 forks source link

Discrepancy in the Okabe and Ito palette #44

Closed apcamargo closed 6 years ago

apcamargo commented 6 years ago

In the book, #999999 is listed as a color of the Okabe and Ito (2008) palette. But this color is not listed in their site, they use #000000 instead.

Is there a reason to use #999999 in the book? As a deutan, I find #000000 much easier to see, as it contrasts better with the other colors of the palette.

Thank you for all the work you put on this book!

clauswilke commented 6 years ago

I'm pretty certain I took it from their site. Maybe they changed their recommendation without flagging an update?

See also here: https://github.com/clauswilke/colorblindr/blob/master/R/palettes.R

apcamargo commented 6 years ago

It could be! Anyway, I'd propose to at least mention this variation in the book. I've asked to other colorblind colleges and they all find that the black is easier to distinguish because of the lightness contrast.

clauswilke commented 6 years ago

I've changed this in the .Rmd file. Will go live when I rebuild the website the next time.

apcamargo commented 6 years ago

Figure 4.1 is still showing the gray tone.

https://serialmentor.com/dataviz/color-basics.html

clauswilke commented 6 years ago

I don't see it.

screen shot 2018-09-27 at 8 33 53 am
apcamargo commented 6 years ago

I'm really sorry. I got confused with the colors and though the pink (#cc79a7) in figure 4.1 was the gray (#999999).

clauswilke commented 6 years ago

No problem. Thanks for double-checking.