Chapter 2
Grammar of Graphics and Visual Components
Section 3
Scales and Coordinates
Scales map values in a data space to values in an aesthetic space, whether the value is a color, shape, or size. Scales are used to change legends or axes, providing inverse mapping and enabling us to understand the data from the graphic itself. In the previous video, when we plotted the histogram, ggplot applied a default scale, in order to describe the x- and y-axes. Let us understand the following concepts: - Scales - Use Scales to Analyze a Dataset - Types of Coordinates - Understand Polar Coordinates