A pie chart displays a set of categories’ proportions, or percentages of the total, in a visual way. To accurately create a pie chart, you must first work out the percentage of the pie chart that each category should occupy. From there, you can calculate the angle that each piece of the pie should have.

Compile your data into categories. Assign each category a number. For example, if you have statistics on four categories of university majors, you might wish to turn that data into a pie chart. You might find the following: there are 410 art majors, 420 science majors, 900 language majors, and 540 engineering majors.

Add all the numbers together to get the total. In this case:

Divide each of the categories by the total. You results will be a list of decimals under 0. Round, if necessary. In the example, with rounding:

Multiply each of the decimals by 100 to get the percentages. You can easily do this by moving the decimal point two places to the right. In the example:

Art: 18 percent

Science: 18 percent

Language: 40 percent

Engineering: 24 percent.

These percentages will be the labels for each section.

Multiply the decimals from Step 3 by 360 to get the number of degrees each slice of pie should take up in the pie chart. For the example, this yields the angles 64.8, 64.8, 144 and 86.4 for the categories of art, science, language and engineering, respectively.

References

About the Author

Having obtained a Master of Science in psychology in East Asia, Damon Verial has been applying his knowledge to related topics since 2010. Having written professionally since 2001, he has been featured in financial publications such as SafeHaven and the McMillian Portfolio. He also runs a financial newsletter at Stock Barometer.