1 DATA VIZ

Visualization can be a powerful way to generate insights from data. Creating impactful graphics is not a trivial undertaking, however. There is a science to how the brain consumes visual information. And there is an art to combining elements of graphics in ways that make the data both aesthetically pleasing and informative. It takes practice to develop these skills.

This section of the textbook is not about the design of a specific visualization or graphic, but rather the implementation. Once you have an idea for your graphic in your mind, you need a few basic R functions to create the visualization. We will cover these nuts and bolts of building custom graphics, some popular R packages for visualization, and some tricks to take your data viz game to the next level using dynamic graphics and animations.

The core graphics package allows you to control every element of a visualization.

Figure 1.1: The core graphics package allows you to control every element of a visualization.

If you would like to start building your data viz muscles, we recommend the following resources as good jumping-off points.

Popular blogs that demonstrate the step-by-step process of making a mediocre graphic into a compelling graphic:

Useful introductory textbooks on data visualization:

Inspiration and help with R graphics: