Scenario
Sometimes, you may need to customize a plot, changing scales and coordinate types. For example, you may have profits in billions (or trillions) of dollars, and wish to represent a big number as 1M, 2M, and so on. Or, you may want to view percentages of profits per month as a pie chart. In such cases, you would need to change your Cartesian coordinates to polar coordinates.
Aim
To use the Grammar of Graphics to create a visualization.
Steps for Completion
- Create the scatter plot using the ggplot commands.
- Use the required dataset.
- Change scales with one of the preceding label formats.
The outcome will ...