Color scheme for categorical variables. You can choose between the palettes "oranges", "greys" and "obi_autumn".
1 |
1 2 3 4 5 6 | library(ggplot2)
library(ggOBI)
ggplot(data = diamonds, aes(color, fill = color)) +
geom_bar() +
scale_fill_obi(palette = "obi_autumn")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.