Since this week's #TidyTuesday is about accessibility on the web, I decided to investigate options for making graphics more accessible
{ColourblindR} takes away the problem of choosing a CVD friendly palette by automatically generating a CVD friendly palette
Code: https://github.com/jcken95/tidytuesday/tree/main/2022/2022-11-15
Blog post about {ColourblindR}: https://ubc-mds.github.io/ColourblindR/
@mduvekot The linked blogpost says that {ColourblindR} _is_ CVD friendly (and was written by the package authors). Is there a package with a similar name that simulates CVD, note I used capital C whereas you used lower?
@mduvekot quick search: {colourblindr} (all lowercase) simulates CVD & provides CVD friendly palettes; {ColourblindR} (note capitals) only generates CVD friendly palettes
@_jcken that's totally not confusing at all
@_jcken I think colourblindR doesn't generate CVD friendly palettes. It shows a simulation of what your chart might look like to someone with CVD. But it comes with scales that you can use: scale_colour_OkabeIto and scale_fill_OkabeIto. I find the viridis scales a bit more versatile because they also work with continuous data.