Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Nicola Rennie
@nrennie@fosstodon.org  ·  activity timestamp 2 weeks ago

For the "accessibility" prompt on day 7 of the #30DayMapChallenge, I decided to investigate how accessible the default #ggplot2 colours are to people with different types of colour vision deficiency (and for different numbers of colours used). 🎨

TLDR: please choose a different, accessible palette

#RStats #DataViz

A 5x5 grid of maps of France. Each row contains areas shaded with a different number of colours, and each column shows how it looks with different types of colour vision deficiency. None are accessible, except when using only two colours.
A 5x5 grid of maps of France. Each row contains areas shaded with a different number of colours, and each column shows how it looks with different types of colour vision deficiency. None are accessible, except when using only two colours.
A 5x5 grid of maps of France. Each row contains areas shaded with a different number of colours, and each column shows how it looks with different types of colour vision deficiency. None are accessible, except when using only two colours.
  • Copy link
  • Flag this post
  • Block
devSJR :python: :rstats:
@devSJR@fosstodon.org replied  ·  activity timestamp last week

Interesting. I want to mention a paper by @zeileis here:

Zeileis, A., Murrell, P., 2023. Coloring in R’s Blind Spot. The R Journal 15, 240–256. https://doi.org/10.32614/RJ-2023-071

  • Copy link
  • Flag this comment
  • Block
Whitney Loblaw
@stragu@mastodon.indie.host replied  ·  activity timestamp last week

@devSJR @zeileis and the great articles on the {colorspace} website, for example: https://colorspace.r-forge.r-project.org/articles/endrainbow.html

  • Copy link
  • Flag this comment
  • Block
Weekend Editor
@weekend_editor@mathstodon.xyz replied  ·  activity timestamp 2 weeks ago

@nrennie

Do you recommend any specific palettes?

I used to use blue/white/red, because a few colleagues had trouble with red/green.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login