HackerPapers

arXiv:1903.06490stat.CO

colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes

Achim Zeileis, Jason C. Fisher, Kurt Hornik, Ross Ihaka, Claire D. McWhite, Paul Murrell, Reto Stauffer, Claus O. Wilke

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

The R package colorspace provides a flexible toolbox for selecting individual colors or color palettes, manipulating these colors, and employing them in statistical graphics and data visualizations. In particular, the package provides a broad range of color palettes based on the HCL (Hue-Chroma-Luminance) color space. The three HCL dimensions have been shown to match those of the human visual system very well, thus facilitating intuitive selection of color palettes through trajectories in this space. Using the HCL color model general strategies for three types of palettes are implemented: (1) Qualitative for coding categorical information, i.e., where no particular ordering of categories is available. (2) Sequential for coding ordered/numeric information, i.e., going from high to low (or vice versa). (3) Diverging for coding ordered/numeric information around a central neutral value, i.e., where colors diverge from neutral to two extremes. To aid selection and application of these palettes the package also contains scales for use with ggplot2, shiny (and tcltk) apps for interactive exploration, visualizations of palette properties, accompanying manipulation utilities (like desaturation and lighten/darken), and emulation of color vision deficiencies.

arXiv comments
Journal reference
Journal of Statistical Software, Volume 96, Issue 1 (2020), 1-49
DOI
doi:10.18637/jss.v096.i01
Subjects
stat.COComputation (Statistics) cs.GRGraphics

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Sep 2020 to Sep 2020.

Comments linking this paper, per year.

Discussed in comments1 thread

    • For all things related to color in data visualization, I can fully recommend the R-package colorspace. For example, the package features colorblind friendly palettes and also the possibility to emulate different forms of color vision deficieny. See the paper on…

      samch93View on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.