See the R Markdown gallery for examples: https://rmarkdown.rstudio.com/gallery.