This webpage summarizes some of the common techniques I used in data visualization in R with ggplot2. More R tips and advanced techniques illustrated with inspiring graphics can be found in the ggplot2 Graphic Gallery @ DataBrewer. In addition, a complete tutorial on data wrangling, the very critical foundation behind all stunning data visuals, can be found in the following resources:
- tidyr: transform (e.g., pivoting) the dataset into tidy structure.
- dplyr: a basic tool to work with data frames.
- stringr: work with strings.
- regular expression: search and match a string pattern.
- purrr: functional programming (e.g., iterating functions across elements of columns).
- tibble: work with data frames in the modern tibble structure.
|
|
|
|
|
|
|
|
|