Questions tagged [pie-chart]

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

3007 questions
10
votes
2 answers

How to specify a size for google pie charts?

I'm having trouble changing the size of a google pie chart that I have made. I'm trying to draw multiple pie charts with the size of each chart proportional to the total amount of data that I'm feeding it. I am aware that we are able to change the…
10
votes
2 answers

Draw circle which is filled horizontally in Android

To draw circles and pie charts in Android, we can use the AChartEngine Android framework as shown here. However, how can we draw circles that is partly filled horizontally (or vertically) in Android? I mean circles which are filled, for example,…
Omar
  • 1,430
  • 1
  • 14
  • 31
10
votes
1 answer

ASP.Net MS Chart Control Pie Chart: remove unwanted padding

HI im trying to create simple pie chart using the MS Chart controls. When my pie chart gets rendered in the browser i get padding around the pie chart that i cant get rid of. i would like the pie chart to sit up against the edge of the image with…
MakkyNZ
  • 2,215
  • 5
  • 33
  • 53
10
votes
3 answers

How to percentage and count in SSRS Pie Chart

I have a Pie chart generated using SSRS. I would like to Show both Count and percentage in the Pie chart. Right now, I am able yo show the count in pie charts as well as in the report. I want to show the name of the partition and also the…
user2831167
  • 167
  • 2
  • 5
  • 15
10
votes
3 answers

R: Pie chart with percentage as labels using ggplot2

From a data frame I want to plot a pie chart for five categories with their percentages as labels in the same graph in order from highest to lowest, going clockwise. My code…
pescobar
  • 177
  • 1
  • 1
  • 10
10
votes
2 answers

Changing line properties in matplotlib pie chart

I'm trying to make the lines on my matplotlib pie chart much lighter. Because I have so many slices, the lines are way too thick, as shown here: I read this example which suggests using rcparam like this: matplotlib.rcParams['text.color'] =…
Alex S
  • 4,726
  • 7
  • 39
  • 67
10
votes
4 answers

How to add Percentage and Total on the Legend of Google Pie Charts

I have a page that displays data in a form of a Pie Chart. I use Google Charts to do this. Here's the code: