How to calculate
Divide each amount by the total of all categories. Multiply the share by 100 for the percent or by 360° for the angle.
Worked example
Use Category and amount on each line Books, 30 / Music, 15 / Games, 15. The result is Total 60.
Input and result notes
Use 2 to 20 categories and nonnegative amounts. At least one amount must be positive.