Nothing
library("ggplot2")
# Continuous scale
ggplot(mtcars, aes(x = wt, y = mpg, colour = disp)) +
geom_point(size = 3) +
scale_colour_economist_c(hue = "blue")
# Ordinal (discrete) scale for an ordered factor
ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(cyl, ordered = TRUE))) +
geom_point(size = 3) +
scale_colour_economist_ordinal(hue = "red")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.