Since this week's 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: github.com/jcken95/tidytuesday

Blog post about {ColourblindR}: 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.

Follow

@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

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.