ABSTRACT

Visualisation is essential for data scientists who want to explore and understand data and communicate their results. Scientists have studied how the mind perceives graphics in great depth and devised a comprehensive body of knowledge that helps us create sound, useful and aesthetic visualisations. The first part of this chapter introduces some principles of best practices in data visualisation. The second part presents the ggplot2 library and the principles of the grammar of graphics and introduces some to create basic visualisations. The learning objectives for this chapter are:

Evaluate data visualisations using basic principles.

Apply the principles of the Grammar of Graphics.

Visualise water quality data with the ggplot2 package.