Wes anderson color palettes r
Wes anderson color palettes r
Color codes!
[This article was first published on R – Myscape, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers?
click here if you have a blog, or here if you don't.
Overview
Adding color to your plots is a great way to make them more visually appealing and informative. Not to mention the fun you can have playing with color palettes that have been made for ggplot2, like the Wes Anderson palette in the wesanderson R package by karthik.
In this tutorial, we will discover how to create the above plot of Pirate Ship Crew Capacity by Sails and Maiden Year using ggplot2 and the Zissou1 color palette of the wesanderson R package.
This step-by-step tutorial is designed for novice R users with limited programming experience.
The code for each step of the following tutorial can be found on my GitHub -> here <-
The Data – Pirate Ships
We will be working with ship data from a fun pirates data set.