An R package to to make your graphs prettier quickly. This is still a work in progress so bear with me. Here is how it should work currently.
library(ggplot2) p1 <- ggplot(diamonds, aes(price, cut)) + geom_bar(stat = "summary", fun.x = "mean" ) p1
remotes::install_github("rishkum/dectechViz") library(dectechViz) p2 <- ggplot(diamonds, aes(price, cut)) + geom_bar(stat = "summary" , fill = dectech_cols("dectech green")) p2
Finally you will get
p2 <- ggpretay(p2) p2
library(gridExtra) grid.arrange(p1, p2, ncol = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.