Skip to content

Commit

Permalink
Update episodes/06-data-visualization.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
sstevens2 authored Dec 4, 2023
1 parent 74703c8 commit 5a6f136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/06-data-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variants = read.csv("https://raw.githubusercontent.com/naupaka/vcfr-for-data-car

<img src="https://ggplot2.tidyverse.org/logo.png" align="right" alt="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.
Expand Down

0 comments on commit 5a6f136

Please sign in to comment.