viridis

Colorblind-Friendly Color Maps for R

https://github.com/sjmgarnier/viridis

Science Score: 46.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: plos.org, zenodo.org
  • Committers with academic emails
    2 of 15 committers (13.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

color-blindness color-scheme r

Keywords from Contributors

visualisation parsing latex ascii-art tidy-data fwf csv plotly ggplot-extension rmarkdown
Last synced: 6 months ago · JSON representation

Repository

Colorblind-Friendly Color Maps for R

Basic Info
Statistics
  • Stars: 301
  • Watchers: 6
  • Forks: 38
  • Open Issues: 16
  • Releases: 5
Topics
color-blindness color-scheme r
Created over 10 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.md

viridis - Colorblind-Friendly Color Maps for R

cran version rstudio mirror per-month downloads rstudio mirror total downloads R-CMD-check Coverage Status DOI

Description

viridis, and its companion package viridisLite provide a series of color maps that are designed to improve graph readability for readers with common forms of color blindness and/or color vision deficiency. The color maps are also perceptually-uniform, both in regular form and also when converted to black-and-white for printing.

viridisLite provides the base functions for generating the color maps in base R. The package is meant to be as lightweight and dependency-free as possible for maximum compatibility with all the R ecosystem. viridis provides additional functionalities, in particular bindings for ggplot2.


The color maps

The latest version of viridis comes with 8 different color maps, and they are all very pretty!!!

Sample image


Installation

You can install viridis from CRAN by typing the following line in your R console:

{r} install.packages("viridis") library(viridis)

If you prefer to install the development version from this GitHub repository, simply copy the following lines of code in your R terminal and it should install everything you need to use viridisLite on your computer:

```{r} if (!require("devtools")) install.packages("devtools")

devtools::install_github("sjmgarnier/viridis") library(viridis) ```


References

The color maps viridis, magma, inferno, and plasma were created by Stéfan van der Walt (@stefanv) and Nathaniel Smith (@njsmith). If you want to know more about the science behind the creation of these color maps, you can watch this presentation of viridis by their authors at SciPy 2015.

The color map cividis is a corrected version of 'viridis', developed by Jamie R. Nuñez, Christopher R. Anderton, and Ryan S. Renslow, and originally ported to R by Marco Sciaini (@msciain). More info about cividis can be found in this paper.

The color maps mako and rocket were originally created for the Seaborn statistical data visualization package for Python. More info about mako and rocket can be found on the Seaborn website.

The color map turbo was developed by Anton Mikhailov to address the shortcomings of the Jet rainbow color map such as false detail, banding and color blindness ambiguity. More infor about turbo can be found here.

Owner

  • Name: Simon Garnier
  • Login: sjmgarnier
  • Kind: user
  • Location: Newark, NJ
  • Company: New Jersey Institute of Technology

I am paid to watch ants all day. And to poke slime mold. And also to play with robots. And I love a good dataset and a clean graph.

GitHub Events

Total
  • Watch event: 7
  • Pull request event: 1
Last Year
  • Watch event: 7
  • Pull request event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 121
  • Total Committers: 15
  • Avg Commits per committer: 8.067
  • Development Distribution Score (DDS): 0.289
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Simon Garnier g****r@n****u 86
Noam Ross n****s@g****m 9
Bob Rudis b****b@r****s 8
Noam Ross r****s@e****g 5
Tal Galili t****i@g****m 2
timelyportfolio k****l@t****m 2
Alan O'Callaghan a****n@o****m 1
Antoine Filipovic-Pierucci p****i@g****m 1
Brandon Greenwell g****n@g****m 1
Carson Sievert c****1@g****m 1
David J. Harris d****s 1
Teun van den Brand t****d@g****m 1
Unknown s****o@g****m 1
jjchern j****n@g****m 1
jennybc j****y@s****a 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 44
  • Total pull requests: 52
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 37
  • Total pull request authors: 17
  • Average comments per issue: 3.95
  • Average comments per pull request: 0.56
  • Merged pull requests: 44
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sjmgarnier (4)
  • zkamvar (2)
  • noamross (2)
  • mdscheuerell (2)
  • hadley (2)
  • ashander (1)
  • alpreyes (1)
  • flying-sheep (1)
  • modche (1)
  • eoli3n (1)
  • Geewhiz999 (1)
  • rafapereirabr (1)
  • MattPopowitz (1)
  • chrisdane (1)
  • mtalluto (1)
Pull Request Authors
  • sjmgarnier (18)
  • noamross (9)
  • hrbrmstr (7)
  • talgalili (3)
  • timelyportfolio (3)
  • thatzacdavis (2)
  • teunbrand (2)
  • 11rchitwood (2)
  • flying-sheep (2)
  • davharris (1)
  • jjchern (1)
  • pierucci (1)
  • cpsievert (1)
  • bgreenwell (1)
  • Alanocallaghan (1)
Top Labels
Issue Labels
enhancement (2) question (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 233,059 last-month
  • Total docker downloads: 3,658,254
  • Total dependent packages: 278
    (may contain duplicates)
  • Total dependent repositories: 836
    (may contain duplicates)
  • Total versions: 22
  • Total maintainers: 1
cran.r-project.org: viridis

Colorblind-Friendly Color Maps for R

  • Versions: 17
  • Dependent Packages: 256
  • Dependent Repositories: 804
  • Downloads: 233,059 Last month
  • Docker Downloads: 3,658,254
Rankings
Dependent packages count: 0.4%
Dependent repos count: 0.5%
Downloads: 0.6%
Stargazers count: 1.5%
Forks count: 1.9%
Average: 3.7%
Docker downloads count: 17.3%
Maintainers (1)
Last synced: 7 months ago
conda-forge.org: r-viridis
  • Versions: 5
  • Dependent Packages: 22
  • Dependent Repositories: 32
Rankings
Dependent packages count: 3.0%
Dependent repos count: 6.5%
Average: 15.5%
Stargazers count: 23.6%
Forks count: 28.8%
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • viridisLite >= 0.4.0 depends
  • ggplot2 >= 1.0.1 imports
  • gridExtra * imports
  • stats * imports
  • MASS * suggests
  • colorspace * suggests
  • covr * suggests
  • dichromat * suggests
  • hexbin >= 1.27.0 suggests
  • httr * suggests
  • knitr * suggests
  • mapproj * suggests
  • maps * suggests
  • raster * suggests
  • rasterVis * suggests
  • rgdal * suggests
  • rmarkdown * suggests
  • scales * suggests
  • svglite >= 1.2.0 suggests
  • testthat * suggests
  • vdiffr * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite