How to Make a Pie Chart in R - Displayr All you need for a pie chart is a series of data representing counts or proportions, together with the corresponding labels. We first create a data frame containing the values that we want to display in the pie chart. For this example, we'll use some sample data showing global market share for mobile phone manufacturers. 1 2