Plots with polar coordinates
In this section, we will have a look at a few plots that can be created using polar coordinates. We have already introduced this coordinate system in the previous chapter. Just remember that you should always use these coordinates with caution since the representation of data in circular form can generate very pronounced perceptual problems concerning the relative areas in the plot.
The most important plots that you can realize with these coordinates are the pie chart, the bullseye chart, and the coxcomb diagram. For our examples, we will use the movie
dataset, which we created in previous chapters and the myMovieData
dataset, and we will represent in these different plots the proportions of movies within each category. ...
Get ggplot2 Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.