Applied Data Visualization with R and ggplot2
ggplot2 is an open source package for the R programming language that employs the concept of the Grammar of Graphics to help users build complex and aesthetic visualizations.
This is a 1-day course that will equip you with the skills and knowledge required to apply ggplot2 to specific problems and obtain results quickly. You’ll learn the basic concepts of ggplot2 and the Grammar of Graphics through illustrative examples. You will then generate solutions for problems of incremental complexity as the course goes on. Lastly, you will master advanced plotting techniques that will enable you to add more detail and develop the quality of your graphics.
If you are interested in gaining a good grasp of ggplot2 in a systematic and practical way by working through real-world scenarios, then this course is for you.
This course will provide you with knowledge of the following:
- Illustrating continuous integration and continuous delivery concepts
- Setting up the R environment, R Studio, and explaining the structure of ggplot2
- Distinguishing between types of variables and best practices for visualizing them
- Changing the defaults of visualizations to reveal more information about the data
- Implementing the "Grammar of Graphics" in ggplot2, such as scales, coordinate systems, position adjustments, and faceting
- Creating complex visualizations and investigating the correlations between variables
- Designing and implementing a visualization from scratch
Software:
● Operating System: Windows 7 SP1 64-bit, Windows 8.1 64-bit, or Windows 10 64-bit
● Browser: Google Chrome (latest version)
● R (latest version)
● RStudio (latest version)
Installation and Setup
Before you start with this course, we'll install R and RStudio. Here, you will find the steps to install these.
Installing R
1. To install the R package and libraries, go to http://cran.us.r-project.org/ in your browser.
2. Click on Download R for Windows, click onbase, and then click on Download R 3.5.0 for Windows (or any newer version that appears).
3. Install R. Leave all default settings in the installation options as they are.
Installing RStudio
1. To install RStudio, go to http://rstudio.org/download/desktop .
2. Choose the default installation.
3. Open RStudio after installation. It uses the underlying R package and will open it automatically in the IDE:
LESSON 1- BASIC PLOTTING IN GGPLOT2
- Introduction to ggplot2
- Geometric Objects
- The Grammar of Graphics
LESSON 2- THE GRAMMAR OF GRAPHICS AND VISUAL COMPONENTS
- More on the Grammar of Graphics
- Facets
- Changing Styles and Colors
- Geoms and Statistical Summaries
LESSON 3- ADVANCED GEOMS AND STATISTICS
- Advanced Plotting Techniques
- Time Series
- Maps
- Trends, Correlations, and Statistical Summaries