tricolore: A Flexible Color Scale for Ternary Compositions

Compositional data consisting of three-parts can be color mapped with a ternary color scale. Such a scale is provided by the tricolore packages with options for discrete and continuous colors, mean-centering and scaling. See Jonas Schöley (2021) "The centered ternary balance scheme. A technique to visualize surfaces of unbalanced three-part compositions" <doi:10.4054/DemRes.2021.44.19>, Jonas Schöley, Frans Willekens (2017) "Visualizing compositional data on the Lexis surface" <doi:10.4054/DemRes.2017.36.21>, and Ilya Kashnitsky, Jonas Schöley (2018) "Regional population structures at a glance" <doi:10.1016/S0140-6736(18)31194-2>.

Version: 1.2.4
Depends: R (≥ 4.0)
Imports: grDevices, ggplot2 (≥ 3.4.0), ggtern (≥ 3.4.0), rlang (≥ 1.1.0), shiny, assertthat
Suggests: testthat, knitr, rmarkdown, sf, leaflet, httpuv, dplyr
Published: 2024-05-15
DOI: 10.32614/CRAN.package.tricolore
Author: Jonas Schöley ORCID iD [aut, cre], Ilya Kashnitsky ORCID iD [aut]
Maintainer: Jonas Schöley <jschoeley at>
License: GPL-3
NeedsCompilation: no
Citation: tricolore citation info
Materials: NEWS
CRAN checks: tricolore results


Reference manual: tricolore.pdf
Vignettes: Choropleth maps with tricolore


Package source: tricolore_1.2.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): tricolore_1.2.4.tgz, r-oldrel (arm64): tricolore_1.2.4.tgz, r-release (x86_64): tricolore_1.2.4.tgz, r-oldrel (x86_64): tricolore_1.2.4.tgz
Old sources: tricolore archive


Please use the canonical form to link to this page.