hues
now provides direct support for ggplot
. The new functions
scale_color_iwanthue()
and scale_fill_iwanthue()
generate a
ScaleDiscrete
object that can be added to a ggplot
object.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.