khroma

Colour Schemes for Scientific Data Visualization - :exclamation: This is a read-only mirror from https://codeberg.org/tesselle/khroma

https://github.com/tesselle/khroma

Science Score: 77.0%

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

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

Keywords

accessibility colour-schemes data-visualization r-package
Last synced: 4 months ago · JSON representation ·

Repository

Colour Schemes for Scientific Data Visualization - :exclamation: This is a read-only mirror from https://codeberg.org/tesselle/khroma

Basic Info
Statistics
  • Stars: 210
  • Watchers: 1
  • Forks: 7
  • Open Issues: 0
  • Releases: 20
Topics
accessibility colour-schemes data-visualization r-package
Created about 7 years ago · Last pushed 5 months ago
Metadata Files
Readme Changelog License Citation Codemeta

README.Rmd

---
output: github_document
bibliography: vignettes/bibliography.bib
---



```{r, include=FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = NULL
)
Sys.setenv(LANGUAGE = "en") # Force locale
```

# khroma 


[![status-badge](https://ci.codeberg.org/api/badges/14693/status.svg)](https://ci.codeberg.org/repos/14693){.pkgdown-devel}
[![Code coverage](https://packages.tesselle.org/khroma/coverage/badge.svg)](https://packages.tesselle.org/khroma/coverage/){.pkgdown-devel}
[![Dependencies](https://tinyverse.netlify.app/badge/khroma)](https://cran.r-project.org/package=khroma){.pkgdown-devel}

[![r-universe](https://tesselle.r-universe.dev/badges/khroma)](https://tesselle.r-universe.dev/khroma){.pkgdown-devel}
[![CRAN Version](https://www.r-pkg.org/badges/version/khroma)](https://cran.r-project.org/package=khroma){.pkgdown-release}
[![CRAN checks](https://badges.cranchecks.info/worst/khroma.svg)](https://cran.r-project.org/web/checks/check_results_khroma.html){.pkgdown-release}
[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/khroma)](https://cran.r-project.org/package=khroma){.pkgdown-release}

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1472077.svg)](https://doi.org/10.5281/zenodo.1472077)


## Overview

Color blindness affects a large number of individuals. When communicating scientific results color palettes must therefore be carefully chosen to be accessible to all readers.

This R package provides an implementation of @okabe2008, @tol2021 and @crameri2018 color schemes. These schemes are ready for each type of data (qualitative, diverging or sequential), with colors that are distinct for all people, including color-blind readers. This package also provides tools to simulate color-blindness and to test how well the colors of any palette are identifiable. To simulate color-blindness in production-ready R figures you may also be interested in the [**colorblindr**](https://github.com/clauswilke/colorblindr) package.

@tol2021 and @crameri2018 offer carefully chosen schemes, ready for each type of data, with colors that are:

* Distinct for all people, including color-blind readers,
* Distinct from black and white,
* Distinct on screen and paper,
* Matching well together,
* Citable and reproducible.

See `vignette("tol")` and `vignette("crameri")` for a more complete overview.

For specific uses, several scientific thematic schemes (geologic timescale, land cover, FAO soils, etc.) are implemented, but these color schemes may not be color-blind safe.

All these color schemes are implemented for use with base R **graphics** or [**ggplot2**](https://github.com/tidyverse/ggplot2) and [**ggraph**](https://github.com/thomasp85/ggraph).

---

```{r citation, echo=FALSE, comment='', results='asis'}
cite <- utils::citation("khroma")
print(cite, bibtex = FALSE)
```

## Installation

You can install the released version of **khroma** from [CRAN](https://CRAN.R-project.org):

```{r cran-installation, eval=FALSE}
install.packages("khroma")
```

And the development version from [Codeberg](https://codeberg.org/) with:

```{r gh-installation, eval=FALSE}
# install.packages("remotes")
remotes::install_git("https://codeberg.org/tesselle/khroma")
```

## Usage

```{r packages}
## Install extra packages (if needed)
# install.packages("ggplot2"))

## Load packages
library(khroma)
```

Available palettes (click to expand) ```{r info} ## Get a table of available palettes info() ```
### Color palettes and scales `color()` returns a function that when called with a single integer argument returns a vector of colors. ```{r usage} ## Paul Tol's bright color scheme bright <- color("bright") bright(7) ``` ```{r usage-show, fig.height=2, fig.width=7, fig.align='center'} ## Plot the color scheme plot_scheme(bright(7), colours = TRUE) ``` ```{r usage-plot, fig.height=3.5, fig.width=5, fig.align='center'} data(mpg, package = "ggplot2") ## Use with graphics par(mar = c(5, 4, 1, 1) + 0.1) plot( x = mpg$displ, y = mpg$hwy, pch = 16, col = palette_color_picker("bright")(mpg$class), xlab = "displ", ylab = "hwy", panel.first = grid(), las = 1 ) ## Use with ggplot2 ggplot2::ggplot(data = mpg) + ggplot2::aes(x = displ, y = hwy, color = class) + ggplot2::geom_point() + ggplot2::theme_bw() + scale_color_bright() ``` ### Diagnostic tools #### Test how well the colors are identifiable ```{r usage-map, fig.height=2, fig.width=7, fig.align='center'} ## Okabe & Ito's color scheme okabe <- color("okabe ito") set.seed(12345) plot_map(okabe(8)) ``` ```{r usage-tiles, fig.height=3, fig.width=3, fig.align='center'} ## BuRd sequential color scheme BuRd <- color("BuRd") plot_tiles(BuRd(128), n = 256) ``` #### Simulate color-blindness ```{r usage-colorblind1, echo=FALSE, eval=FALSE, fig.height=2, fig.width=7, fig.align='center'} ## change() returns function deuteranopia <- change(okabe, mode = "deuteranopia") plot_scheme(deuteranopia(8), colours = TRUE) protanopia <- change(okabe, mode = "protanopia") plot_scheme(protanopia(8), colours = TRUE) tritanopia <- change(okabe, mode = "tritanopia") plot_scheme(tritanopia(8), colours = TRUE) achromatopsia <- change(okabe, mode = "achromatopsia") plot_scheme(achromatopsia(8), colours = TRUE) ``` ```{r usage-colorblind2, fig.height=4, fig.width=7, fig.align='center'} plot_scheme_colorblind(okabe(8)) ## ggplot2 default color scheme ## (equally spaced hues around the color wheel) x <- scales::hue_pal()(8) plot_scheme_colorblind(x) ``` ## Contributing Please note that the **khroma** project is released with a [Contributor Code of Conduct](https://www.tesselle.org/conduct.html). By contributing to this project, you agree to abide by its terms. ## References ```{r metadata, include=FALSE} ## Update codemeta.json codemetar::write_codemeta(verbose = FALSE) ## Update CITATION.cff cff_keys <- list( identifiers = list( list(description = "The concept DOI.", type = "doi", value = "10.5281/zenodo.1472077"), list(description = "The versioned DOI for version 1.0.0.", type = "doi", value = "10.5281/zenodo.1472078"), list(description = "The versioned DOI for version 1.1.0.", type = "doi", value = "10.5281/zenodo.2577258"), list(description = "The versioned DOI for version 1.1.1.", type = "doi", value = "10.5281/zenodo.2635680"), list(description = "The versioned DOI for version 1.1.2.", type = "doi", value = "10.5281/zenodo.3237015"), list(description = "The versioned DOI for version 1.1.3.", type = "doi", value = "10.5281/zenodo.3239344"), list(description = "The versioned DOI for version 1.2.0.", type = "doi", value = "10.5281/zenodo.3371615"), list(description = "The versioned DOI for version 1.3.0.", type = "doi", value = "10.5281/zenodo.3519838"), list(description = "The versioned DOI for version 1.4.0.", type = "doi", value = "10.5281/zenodo.4067906"), list(description = "The versioned DOI for version 1.4.1.", type = "doi", value = "10.5281/zenodo.4612091"), list(description = "The versioned DOI for version 1.5.0.", type = "doi", value = "10.5281/zenodo.4723613"), list(description = "The versioned DOI for version 1.6.0.", type = "doi", value = "10.5281/zenodo.4947109"), list(description = "The versioned DOI for version 1.7.0.", type = "doi", value = "10.5281/zenodo.5388239"), list(description = "The versioned DOI for version 1.8.0.", type = "doi", value = "10.5281/zenodo.5886699"), list(description = "The versioned DOI for version 1.9.0.", type = "doi", value = "10.5281/zenodo.6659769"), list(description = "The versioned DOI for version 1.10.0.", type = "doi", value = "10.5281/zenodo.7838382"), list(description = "The versioned DOI for version 1.11.0.", type = "doi", value = "10.5281/zenodo.8269306"), list(description = "The versioned DOI for version 1.12.0.", type = "doi", value = "10.5281/zenodo.10470003"), list(description = "The versioned DOI for version 1.13.0.", type = "doi", value = "10.5281/zenodo.12606781"), list(description = "The versioned DOI for version 1.14.0.", type = "doi", value = "10.5281/zenodo.13378711"), list(description = "The versioned DOI for version 1.15.0.", type = "doi", value = "10.5281/zenodo.14629064"), list(description = "The versioned DOI for version 1.16.0.", type = "doi", value = "10.5281/zenodo.14927198"), list(description = "The CRAN DOI", type = "doi", value = "10.32614/cran.package.khroma") ) ) cff <- cffr::cff_create("DESCRIPTION", keys = cff_keys) if (cffr::cff_validate(cff)) cffr::cff_write(cff, outfile = "CITATION.cff") ```

Owner

  • Name: tesselle
  • Login: tesselle
  • Kind: organization
  • Location: France

A collection of R packages for archaeological research and teaching

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "khroma" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'khroma: Colour Schemes for Scientific Data Visualization'
version: 1.16.0
doi: 10.5281/zenodo.1472077
identifiers:
- description: The concept DOI.
  type: doi
  value: 10.5281/zenodo.1472077
- description: The versioned DOI for version 1.0.0.
  type: doi
  value: 10.5281/zenodo.1472078
- description: The versioned DOI for version 1.1.0.
  type: doi
  value: 10.5281/zenodo.2577258
- description: The versioned DOI for version 1.1.1.
  type: doi
  value: 10.5281/zenodo.2635680
- description: The versioned DOI for version 1.1.2.
  type: doi
  value: 10.5281/zenodo.3237015
- description: The versioned DOI for version 1.1.3.
  type: doi
  value: 10.5281/zenodo.3239344
- description: The versioned DOI for version 1.2.0.
  type: doi
  value: 10.5281/zenodo.3371615
- description: The versioned DOI for version 1.3.0.
  type: doi
  value: 10.5281/zenodo.3519838
- description: The versioned DOI for version 1.4.0.
  type: doi
  value: 10.5281/zenodo.4067906
- description: The versioned DOI for version 1.4.1.
  type: doi
  value: 10.5281/zenodo.4612091
- description: The versioned DOI for version 1.5.0.
  type: doi
  value: 10.5281/zenodo.4723613
- description: The versioned DOI for version 1.6.0.
  type: doi
  value: 10.5281/zenodo.4947109
- description: The versioned DOI for version 1.7.0.
  type: doi
  value: 10.5281/zenodo.5388239
- description: The versioned DOI for version 1.8.0.
  type: doi
  value: 10.5281/zenodo.5886699
- description: The versioned DOI for version 1.9.0.
  type: doi
  value: 10.5281/zenodo.6659769
- description: The versioned DOI for version 1.10.0.
  type: doi
  value: 10.5281/zenodo.7838382
- description: The versioned DOI for version 1.11.0.
  type: doi
  value: 10.5281/zenodo.8269306
- description: The versioned DOI for version 1.12.0.
  type: doi
  value: 10.5281/zenodo.10470003
- description: The versioned DOI for version 1.13.0.
  type: doi
  value: 10.5281/zenodo.12606781
- description: The versioned DOI for version 1.14.0.
  type: doi
  value: 10.5281/zenodo.13378711
- description: The versioned DOI for version 1.15.0.
  type: doi
  value: 10.5281/zenodo.14629064
- description: The versioned DOI for version 1.16.0.
  type: doi
  value: 10.5281/zenodo.14927198
- description: The CRAN DOI
  type: doi
  value: 10.32614/cran.package.khroma
abstract: Color schemes ready for each type of data (qualitative, diverging or sequential),
  with colors that are distinct for all people, including color-blind readers. This
  package provides an implementation of Paul Tol (2018) and Fabio Crameri (2018) <https://doi.org/10.5194/gmd-11-2541-2018>
  color schemes for use with 'graphics' or 'ggplot2'. It provides tools to simulate
  color-blindness and to test how well the colors of any palette are identifiable.
  Several scientific thematic schemes (geologic timescale, land cover, FAO soils,
  etc.) are also implemented.
authors:
- family-names: Frerebeau
  given-names: Nicolas
  email: nicolas.frerebeau@u-bordeaux-montaigne.fr
  orcid: https://orcid.org/0000-0001-5759-4944
preferred-citation:
  type: manual
  title: 'khroma: Colour Schemes for Scientific Data Visualization'
  authors:
  - family-names: Frerebeau
    given-names: Nicolas
    email: nicolas.frerebeau@u-bordeaux-montaigne.fr
    orcid: https://orcid.org/0000-0001-5759-4944
  year: '2025'
  institution:
    name: Université Bordeaux Montaigne
    address: Pessac, France
  notes: R package version 1.16.0
  doi: 10.5281/zenodo.1472077
  url: https://packages.tesselle.org/khroma/
repository: https://CRAN.R-project.org/package=khroma
repository-code: https://codeberg.org/tesselle/khroma
url: https://packages.tesselle.org/khroma/
contact:
- family-names: Frerebeau
  given-names: Nicolas
  email: nicolas.frerebeau@u-bordeaux-montaigne.fr
  orcid: https://orcid.org/0000-0001-5759-4944
keywords:
- data-visualization
- colour-schemes
- accessibility
- r-package
references:
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
  version: '>= 3.5.0'
- type: software
  title: graphics
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: grDevices
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: grid
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: stats
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: utils
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: ggplot2
  abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
  notes: Suggests
  url: https://ggplot2.tidyverse.org
  repository: https://CRAN.R-project.org/package=ggplot2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Chang
    given-names: Winston
    orcid: https://orcid.org/0000-0002-1576-2126
  - family-names: Henry
    given-names: Lionel
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Takahashi
    given-names: Kohske
  - family-names: Wilke
    given-names: Claus
    orcid: https://orcid.org/0000-0002-7470-9261
  - family-names: Woo
    given-names: Kara
    orcid: https://orcid.org/0000-0002-5125-4188
  - family-names: Yutani
    given-names: Hiroaki
    orcid: https://orcid.org/0000-0002-3385-7233
  - family-names: Dunnington
    given-names: Dewey
    orcid: https://orcid.org/0000-0002-9415-4582
  - family-names: Brand
    given-names: Teun
    name-particle: van den
    orcid: https://orcid.org/0000-0002-9335-7468
  year: '2025'
  doi: 10.32614/CRAN.package.ggplot2
- type: software
  title: ggraph
  abstract: 'ggraph: An Implementation of Grammar of Graphics for Graphs and Networks'
  notes: Suggests
  url: https://ggraph.data-imaginist.com
  repository: https://CRAN.R-project.org/package=ggraph
  authors:
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomasp85@gmail.com
    orcid: https://orcid.org/0000-0002-5147-4711
  year: '2025'
  doi: 10.32614/CRAN.package.ggraph
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Suggests
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2025'
  doi: 10.32614/CRAN.package.knitr
- type: software
  title: markdown
  abstract: 'markdown: Render Markdown with ''commonmark'''
  notes: Suggests
  url: https://github.com/rstudio/markdown
  repository: https://CRAN.R-project.org/package=markdown
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Allaire
    given-names: JJ
  - family-names: Horner
    given-names: Jeffrey
  year: '2025'
  doi: 10.32614/CRAN.package.markdown
- type: software
  title: rsvg
  abstract: 'rsvg: Render SVG Images into PDF, PNG, (Encapsulated) PostScript, or
    Bitmap Arrays'
  notes: Suggests
  url: https://docs.ropensci.org/rsvg/
  repository: https://CRAN.R-project.org/package=rsvg
  authors:
  - family-names: Ooms
    given-names: Jeroen
    email: jeroenooms@gmail.com
    orcid: https://orcid.org/0000-0002-4035-0289
  year: '2025'
  doi: 10.32614/CRAN.package.rsvg
- type: software
  title: scales
  abstract: 'scales: Scale Functions for Visualization'
  notes: Suggests
  url: https://scales.r-lib.org
  repository: https://CRAN.R-project.org/package=scales
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Seidel
    given-names: Dana
  year: '2025'
  doi: 10.32614/CRAN.package.scales
- type: software
  title: spacesXYZ
  abstract: 'spacesXYZ: CIE XYZ and some of Its Derived Color Spaces'
  notes: Suggests
  repository: https://CRAN.R-project.org/package=spacesXYZ
  authors:
  - family-names: Davis
    given-names: Glenn
  year: '2025'
  doi: 10.32614/CRAN.package.spacesXYZ
- type: software
  title: svglite
  abstract: 'svglite: An ''SVG'' Graphics Device'
  notes: Suggests
  url: https://svglite.r-lib.org
  repository: https://CRAN.R-project.org/package=svglite
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Luciani
    given-names: T Jake
    email: jake@apache.org
  - family-names: Decorde
    given-names: Matthieu
    email: matthieu.decorde@ens-lyon.fr
  - family-names: Lise
    given-names: Vaudor
    email: lise.vaudor@ens-lyon.fr
  year: '2025'
  doi: 10.32614/CRAN.package.svglite
- type: software
  title: tinysnapshot
  abstract: 'tinysnapshot: Snapshots for Unit Tests using the ''tinytest'' Framework'
  notes: Suggests
  url: https://github.com/vincentarelbundock/tinysnapshot
  repository: https://CRAN.R-project.org/package=tinysnapshot
  authors:
  - family-names: Arel-Bundock
    given-names: Vincent
    email: vincent.arel-bundock@umontreal.ca
    orcid: https://orcid.org/0000-0003-2042-7063
  year: '2025'
  doi: 10.32614/CRAN.package.tinysnapshot
- type: software
  title: tinytest
  abstract: 'tinytest: Lightweight and Feature Complete Unit Testing Framework'
  notes: Suggests
  url: https://github.com/markvanderloo/tinytest
  repository: https://CRAN.R-project.org/package=tinytest
  authors:
  - family-names: Loo
    given-names: Mark
    name-particle: van der
    email: mark.vanderloo@gmail.com
    orcid: https://orcid.org/0000-0002-9807-4686
  year: '2025'
  doi: 10.32614/CRAN.package.tinytest

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "khroma",
  "description": "Color schemes ready for each type of data (qualitative, diverging or sequential), with colors that are distinct for all people, including color-blind readers. This package provides an implementation of Paul Tol (2018) and Fabio Crameri (2018) <doi:10.5194/gmd-11-2541-2018> color schemes for use with 'graphics' or 'ggplot2'. It provides tools to simulate color-blindness and to test how well the colors of any palette are identifiable. Several scientific thematic schemes (geologic timescale, land cover, FAO soils, etc.) are also implemented.",
  "name": "khroma: Colour Schemes for Scientific Data Visualization",
  "relatedLink": [
    "https://packages.tesselle.org/khroma/",
    "https://tesselle.r-universe.dev/khroma",
    "https://CRAN.R-project.org/package=khroma"
  ],
  "codeRepository": "https://codeberg.org/tesselle/khroma",
  "issueTracker": "https://codeberg.org/tesselle/khroma/issues",
  "license": "https://spdx.org/licenses/GPL-3.0",
  "version": "1.17.0",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.5.1 (2025-06-13)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "Nicolas",
      "familyName": "Frerebeau",
      "email": "nicolas.frerebeau@u-bordeaux-montaigne.fr",
      "@id": "https://orcid.org/0000-0001-5759-4944"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Vincent",
      "familyName": "Arel-Bundock",
      "email": "vincent.arel-bundock@umontreal.ca",
      "@id": "https://orcid.org/0000-0003-2042-7063"
    },
    {
      "@type": "Person",
      "givenName": "Ulrik",
      "familyName": "Stervbo",
      "email": "ulrik.stervbo@gmail.com",
      "@id": "https://orcid.org/0000-0002-2831-8868"
    }
  ],
  "funder": [
    {
      "@type": "Organization",
      "name": "Universit Bordeaux Montaigne"
    },
    {
      "@type": "Organization",
      "name": "CNRS"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Nicolas",
      "familyName": "Frerebeau",
      "email": "nicolas.frerebeau@u-bordeaux-montaigne.fr",
      "@id": "https://orcid.org/0000-0001-5759-4944"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "fontquiver",
      "name": "fontquiver",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=fontquiver"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ggraph",
      "name": "ggraph",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggraph"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "markdown",
      "name": "markdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=markdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rsvg",
      "name": "rsvg",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rsvg"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "scales",
      "name": "scales",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=scales"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "spacesXYZ",
      "name": "spacesXYZ",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=spacesXYZ"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "svglite",
      "name": "svglite",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=svglite"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "tinysnapshot",
      "name": "tinysnapshot",
      "version": ">= 0.2.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tinysnapshot"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "tinytest",
      "name": "tinytest",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tinytest"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.5.0"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "graphics",
      "name": "graphics"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "grDevices",
      "name": "grDevices"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "grid",
      "name": "grid"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "stats",
      "name": "stats"
    },
    "6": {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    "SystemRequirements": null
  },
  "isPartOf": "https://www.tesselle.org",
  "keywords": [
    "data-visualization",
    "colour-schemes",
    "accessibility",
    "r-package"
  ],
  "fileSize": "1506.891KB",
  "citation": [
    {
      "@type": "SoftwareSourceCode",
      "datePublished": "2025",
      "author": [
        {
          "@type": "Person",
          "givenName": "Nicolas",
          "familyName": "Frerebeau"
        }
      ],
      "name": "{khroma: Colour Schemes for Scientific Data Visualization}",
      "identifier": "10.5281/zenodo.1472077",
      "url": "https://packages.tesselle.org/khroma/",
      "description": "R package version 1.17.0",
      "@id": "https://doi.org/10.5281/zenodo.1472077",
      "sameAs": "https://doi.org/10.5281/zenodo.1472077"
    }
  ],
  "developmentStatus": "https://www.repostatus.org/#active"
}

GitHub Events

Total
  • Release event: 1
  • Watch event: 8
  • Push event: 10
  • Create event: 2
Last Year
  • Release event: 1
  • Watch event: 8
  • Push event: 10
  • Create event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 345
  • Total Committers: 5
  • Avg Commits per committer: 69.0
  • Development Distribution Score (DDS): 0.386
Past Year
  • Commits: 21
  • Committers: 2
  • Avg Commits per committer: 10.5
  • Development Distribution Score (DDS): 0.19
Top Committers
Name Email Commits
nfrerebeau 3****u 212
nfrerebeau n****u@u****r 126
Ulrik Stervbo u****o@g****m 4
Vincent Arel-Bundock v****k@u****a 2
Hadley Wickham h****m@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 9
  • Total pull requests: 6
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 3 days
  • Total issue authors: 4
  • Total pull request authors: 5
  • Average comments per issue: 0.56
  • Average comments per pull request: 1.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: 2 months
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nfrerebeau (4)
  • tsdye (2)
  • larmarange (2)
  • ustervbo (1)
Pull Request Authors
  • vincentarelbundock (2)
  • harmveer (1)
  • ustervbo (1)
  • hadley (1)
  • nfrerebeau (1)
Top Labels
Issue Labels
enhancement (5) bug (2)
Pull Request Labels
enhancement (2)

Dependencies

DESCRIPTION cran
  • R >= 3.3 depends
  • grDevices * imports
  • graphics * imports
  • grid * imports
  • stats * imports
  • utils * imports
  • covr * suggests
  • crayon * suggests
  • fansi * suggests
  • ggplot2 * suggests
  • ggraph * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • scales * suggests
  • spacesXYZ * suggests
  • testthat >= 3.0.0 suggests
  • vdiffr >= 1.0.0 suggests