What type of graph best shows a comparison of a part to a whole

A pie chart is the best type of graph to show a comparison of a part to a whole.