September 2018
Beginner to intermediate
140 pages
2h 52m
English
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 example, when we plotted the histogram, ggplot applied a default scale, in order to describe the x- and y-axes. However, we can modify that scale.
To modify scales, the following commands are used:
Some elements that are commonly changed are as follows:
Read now
Unlock full access