Change the background color of a plot to the color "firebrick4" in R. As well, changes all the line and text colors to a lightblue. This is done to be less "intense" on the eyes, and is easier to look at
1 |
1 2 3 4 5 | x = seq(0,100,1)
y = x^2
df = data.frame(x,y)
ggplot(df,aes(x,y)) +
theme_firebrick4
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.