Logiciel Année : 2025

khroma: Colour Schemes for Scientific Data Visualization

Nicolas Frerebeau

Résumé

Color blindness affects a large number of individuals. When communicating scientific results colour palettes must therefore be carefully chosen to be accessible to all readers. This R package provides an implementation of Paul Tol’s colour schemes. These schemes are ready for each type of data (qualitative, diverging or sequential), with colours that are distinct for all people, including colour-blind readers. This package also provides tools to simulate colour-blindness and to test how well the colours of any palette are identifiable. To simulate colour-blindness in production-ready R figures you may also be interested in the 'colorblindr' package. For specific uses, several scientific thematic schemes (geologic timescale, land cover, FAO soils, etc.) are implemented, but these colour schemes may not be colour-blind safe. All these colour schemes are implemented for use with base R 'graphics' or 'ggplot2'.

Dates et versions

hal-01927931 , version 1 (07-10-2020)

Licence

Identifiants

Citer

Nicolas Frerebeau. khroma: Colour Schemes for Scientific Data Visualization. 2025, ⟨swh:1:dir:8f8defd0bb71dbb7052cab8eaf0288e53f1fdc9f;origin=https://codeberg.org/tesselle/khroma⟩. ⟨hal-01927931⟩
633 Consultations
101 Téléchargements

Altmetric

Partager

  • More