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/
@_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.
@_jcken that's totally not confusing at all