.gg_tiny_theme | R Documentation |
A ggplot theme with minimal fluff and with the defaults set small.
.gg_tiny_theme(baseSize = 8, font = "Roboto")
baseSize |
the size of the base font. |
font |
the font family name |
a ggplot theme
try({
ggplot2::ggplot(ggplot2::diamonds,
ggplot2::aes(x=carat,y=price,color=color))+
ggplot2::geom_point()+
.gg_tiny_theme()
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.