From 5a6f136d94fa07c7a7fbc1fc92e997c0588b44ba Mon Sep 17 00:00:00 2001 From: Sarah Stevens Date: Mon, 4 Dec 2023 16:31:58 -0600 Subject: [PATCH] Update episodes/06-data-visualization.Rmd --- episodes/06-data-visualization.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/06-data-visualization.Rmd b/episodes/06-data-visualization.Rmd index d7106f85..f2d587e8 100644 --- a/episodes/06-data-visualization.Rmd +++ b/episodes/06-data-visualization.Rmd @@ -45,7 +45,7 @@ variants = read.csv("https://raw.githubusercontent.com/naupaka/vcfr-for-data-car Line plot enclosed in hexagon shape with ggplot2 typed beneath and www.rstudio.com at the bottom. -**`ggplot2`** is a plotting package, that is part of the tidyverse, +**`ggplot2`** is a plotting package, part of the tidyverse, that makes it simple to create complex plots from data in a data frame. It provides a more programmatic interface for specifying what variables to plot, how they are displayed, and general visual properties. Therefore, we only need minimal changes if the underlying data change or if we decide to change from a bar plot to a scatter plot. This helps in creating publication-quality plots with minimal amounts of adjustments and tweaking. The **gg** in "**ggplot**" stands for "**G**rammar of **G**raphics," which is an elegant yet powerful way to describe the making of scientific plots. In short, the grammar of graphics breaks down every plot into a few components, namely, a dataset, a set of geoms (visual marks that represent the data points), and a coordinate system. You can imagine this is a grammar that gives unique names to each component appearing in a plot and conveys specific information about data. With **ggplot**, graphics are built step by step by adding new elements.