Book Image

Applied Data Visualization with R and ggplot2

By : Dr. Tania Moulik
Book Image

Applied Data Visualization with R and ggplot2

By: Dr. Tania Moulik

Overview of this book

Applied Data Visualization with R and ggplot2 introduces you to the world of data visualization by taking you through the basic features of ggplot2. To start with, you’ll learn how to set up the R environment, followed by getting insights into the grammar of graphics and geometric objects before you explore the plotting techniques. You’ll discover what layers, scales, coordinates, and themes are, and study how you can use them to transform your data into aesthetical graphs. Once you’ve grasped the basics, you’ll move on to studying simple plots such as histograms and advanced plots such as superimposing and density plots. You’ll also get to grips with plotting trends, correlations, and statistical summaries. By the end of this book, you’ll have created data visualizations that will impress your clients.
Table of Contents (10 chapters)

Summary


In this chapter, you learned about the Grammar of Graphics in detail, changing the various theme and color aspects of graphs to create better visuals and reveal further details about data. You also learned how to provide more useful information in scatter plots, using grouping and summarizing to calculate quantities such as the mean, median, quartile, and so on.

In the next chapter, we will work on more advanced plotting techniques, which are not needed quite as often but may be required in some cases.