si_style_xgrid | R Documentation |
Incorporates the default si_style graph and modifies it to include on x-axis gridlines. Useful for when you are highlighting a vertical comparison, such as rotated bar graphs
si_style_xgrid(...)
... |
inherits parameters from |
## Not run:
library(systemfonts)
library(ggplot2)
ggplot(iris, aes(Sepal.Length, y = Sepal.Width, colour = Species)) +
geom_point() + si_style_xgrid()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.