Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid a diverging colour scheme where the midpoint isn't meaningful #3702

Open
iaindillingham opened this issue Oct 4, 2022 · 0 comments
Open

Comments

@iaindillingham
Copy link
Member

We should avoid using a diverging colour scheme (ColorBrewer RdBu) on the maps in OpenPrescribing, as the midpoint isn't meaningful. For example, in this map of co-codamol vs patients on list by sub-ICB locations, the smallest value (blue) represents 3.67; the largest value (red) represents 56.69; the midpoint (white), represents 26.51. Clearly, the encoded range and the data domain are incongruent. Instead, we should prefer a single hue sequential scheme, such as ColorBrewer Blues or Reds.

For more information, see the section on Colour Schemes in the Vega documentation; and the ColorBrewer project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants