

In this chapter, we’ll focus once again on ggplot2.

It doesn’t teach the mechanics of creating visualizations, but instead focuses on what you need to think about in order to create effective graphics. We particularly like The Truthful Art, by Albert Cairo. For that reason, we highly recommend pairing this chapter with a good general visualization book.
#Add title ggplot2 scatter plot how to
We assume that you know what you want, and just need to know how to do it. This chapter focuses on the tools you need to create good graphics. In this chapter, you’ll learn some of the tools that ggplot2 provides to do so. To help others quickly build up a good mental model of the data, you will need to invest considerable effort in making your plots as self-explanatory as possible. Your audience will likely not share your background knowledge and will not be deeply invested in the data. Now that you understand your data, you need to communicate your understanding to others. In the course of most analyses, you’ll produce tens or hundreds of plots, most of which are immediately thrown away. You made each plot for a purpose, could quickly look at it, and then move on to the next plot. When you make exploratory plots, you know-even before looking-which variables the plot will display. In Chapter 11, you learned how to use plots as tools for exploration. You can find the complete first edition at. This chapter is largely complete and just needs final proof reading. You are reading the work-in-progress second edition of R for Data Science.
