The viridis color palette was developed in 2015 for
matplotlib by Stefan van der Walt and Nathaniel Smith. It is designed to be
- Perceptually uniform
- Robust to colorblindness
You can see their talk on YouTube (19 min) to learn more about how they developed the color palette.
The viridis color palette can be accessed in D3 with the
A copy of this code can be found in Github.