Works the same as scale_color_discrete for ggplot plots.
1 |
1 2 3 4 5 | library(tidyverse)
mtcars %>%
ggplot(aes(wt, mpg, color = factor(cyl))) +
geom_point() +
scale_color_discrete_iteam()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.