talira

viridis (R)

Colorblind-friendly color maps for R, with ggplot2 scales

open sourceMITfree

viridis (R) looks abandoned: nothing has changed since January 2024, and its makers haven't said it has ended.

No commit or maintainer reply since January 2024, and no newer commits on other branches.

viridis is an R package of color maps designed to keep graphs readable for people with common forms of color blindness, and perceptually uniform in color and when printed in black and white. It adds ggplot2 scales for discrete and continuous color and fill; viridisLite is the lean version without the ggplot2 bindings. It's by Simon Garnier. The maintainer hasn't committed or replied since January 2024.

Problems it solves

  • make R charts readable for colorblind viewers
  • use viridis color scales in ggplot2
  • pick a perceptually uniform palette for heatmaps in R

Features

  • colorblind-friendly color maps
  • perceptually uniform, prints well in grayscale
  • ggplot2 color and fill scales

Alternatives

The same job

These do what viridis (R) does.

  1. viridisLite Colour-blind-friendly, perceptually uniform colour maps for base R
  2. colorspace A toolbox for manipulating and assessing colours and palettes in R

Compare viridis (R) with the top 3