Skip to main content

A pie chart is a circular representation of data divided into sections by the drawing of radii.

A pie chart is a circular representation of data divided into sections by the drawing of radii.

  • Each section represents a percentage of some total.
  • The sum of the values of all sections is 100% of the total.
  • The sizes of the sections are directly proportional to the percentage of the total.
  • For example, if a given section represented 10% of the total value, the central angle of the section would be 36 degrees, or 10% of the total 360 degrees in the chart.

Questions regarding pie charts as used in programming should use this tag.

However, some aren't considering pie charts as the best option to visualize data. Often data which is visualized with pie-charts can be visualized with bar-charts as well.

In scientific software for statistical computing and graphics, function pie generates a pie chart.

Useful links


Related tags