This R Notebook is the complement to my blog post How to Make High Quality Data Visualizations for Websites With R and ggplot2.

This notebook is licensed under the MIT License. If you use the code or data visualization designs contained within this notebook, it would be greatly appreciated if proper attribution is given back to this notebook and/or myself. Thanks! :)

1 Setup

library(ggplot2)
mpg
p <- ggplot(mpg, aes(x = displ, y = hwy)) + 
    geom_point()
p