Visualize Color Palettes in Interactive 3D Grid (Shiny + RGL)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
You can view the application online at http://trestletechnology.net:3838/rgl/!
(Bear with us as we try out the very early release of Shiny Server. There may be some downtime and manual restarts of the service required in the next couple of weeks. Please drop us a line if it’s not working as you expected.)
This is an adaptation of some previous analysis exploring the progression of color palettes through three-dimensional RGB space. Thanks to RStudio’s wonderful new Shiny application, this analysis can now be made more interactive. You can now explore all of the color palettes available in RColorBrewer and optionally even calculate/display the principal components for each of those palettes.
As always, the source is up on Github.
Acknowledgements
- All analysis done in R
- Interactive 3D graphics generated using rgl version 0.92.879
- Code hosted by GitHub in trestletech/shiny-sandbox/
- Color palettes obtained from Cynthia Brewer’s ColorBrewer2.0 service
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.