## 2.8 Resources

This section contains links to general resources on visualization and to the ggplot2 package.

### 2.8.1 Help on visualization

In addition to Chapter 3: Data visualization, Chapter 7: Exploratory data analysis (EDA) (to be covered in 2 weeks) provides further information on data visualization.

Books or scripts on data visualization include:

The landmark publications by Jacques Bertin (e.g., Bertin, 2011) and Edward R. Tufte provide solid advice and many inspiring examples.

More recent publications that are geared to the needs of aspiring data scientists include:

More specific resources on the principles of data visualization (with many beautiful or bizarre examples) include:

Inspiration and tools for additional types of visualizations can be found at (from specific to general):

### 2.8.2 Colors in R

The grDevices component of R comes with many options and tools for selecting and modifying colors:

• Call colors() or demo("colors") in the Console to view the in-built colors of R.

See Appendix D for a primer on using colors in R and Section D.7 for corresponding resources and links.

### 2.8.3 Explanation: Same stats, different data

The introductory data examined above (in Section 2.1 and plotted in Figure 2.2) is known as Anscombe’s quartet and is included in R as anscombe in the datasets package . It contains four sets of x-y coordinates which have the same statistical properties (regarding mean, SD, correlation, regression line), yet are actually quite different. (See ?anscombe for details.)