owid-grapher
owid-grapher copied to clipboard
Add center value for diverging map brackets
Core problem
When using a diverging scale for a map, Grapher automatically defines a center value (where colors change) which doesn't necessarily reflect how the measure works.
Proposed solution
Adding a "center value" field into Grapher can fix this, expressing exactly where we want this transition point to happen.
Alternatives
The alternative, for now, is creating a symmetric range where the midpoint is exactly this transition point, but that generates brackets that do not cover the values as we might like.
Context
See original post in Slack.
In this example, I would like the colors to start changing (from red to blue) from 0 and not from 4:
The alternatives to fix this would be to create symmetrical brackets, as
... which is not ideal.
There are tools like Tableau that include this kind of functionality: