A 'ggplot2' Extension to Visualize Two Variables per Color Aesthetic Through Color Space Projections

A 'ggplot2' extension to visualize two variables through one color aesthetic via mapping to a color space projection. With this technique for 2-D color mapping, one can create a bivariate choropleth in R as well as other visualizations with multivariate color scales. Includes two new scales and a new guide for 'ggplot2'.


Version 0.1.3

  • Change tests to compensate for ggplot2 2.2.0 changes
  • Due to ggplot2 2.2.0 changes, mapping a colorplane at the level of an individual layer will now produce a warning message, but functions normally. See ?colorplaner for more information.

Version 0.1.2

  • Fixed an issue that was preventing updated vignettes from building
  • Complete versions of colorplaner and other_projections vignettes now included

Version 0.1.1

  • Initial release of the colorplaner package
  • Implements two new ggplot2 scales: scale_color_colorplane and scale_fill_colorplane
  • Implements one new ggplot2 guide: guide_colorplane

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.3 by William Murphy, 2 years ago


Report a bug at https://github.com/wmurphyrd/colorplaner/issues

Browse source code at https://github.com/cran/colorplaner

Authors: William Murphy [aut, cre], Hadley Wickham [ctb] (Original author for copied and derived code), Winston Chang [ctb] (Original author for copied and derived code)

Documentation:   PDF Manual  

GPL-2 license

Imports grid, scales, gtable, digest, ggplot2

Suggests testthat, maps, mapproj, knitr, rmarkdown, covr

Suggested by fiftystater.

See at CRAN