Pie Charts in R using ggplot2
A Pie Chart or Circle Chart is a circular statistical graphical technique that divides the circle in numeric proportion to represent data as a part of the whole. In Circle Chart the arc length of each slice is proportional to the quantity it represents. Pie charts are very widely used in the business world and the mass media to understand trends.
- Import module
- Create data
- Arrange the rows of a data frame by the values of selected columns.
- Mutate to create a new variable from a data set
- Plot pie chart
- Display plot