Python Matplotlib #04 - Gráfico de...
Python Matplotlib #04 - Gráfico de pizza Matplotlib ( pie chart )

Pie chart

We at ask-math believe that educational material should be free for everyone. Please use the content of this website for in-depth understanding of the concepts. Additionally, we have created and posted videos on our youtube.

We also offer One to One / Group Tutoring sessions / Homework help for Mathematics from Grade 4th to 12th for algebra, geometry, trigonometry, pre-calculus, and calculus for US, UK, Europe, South east Asia and UAE students.

Affiliations with Schools & Educational institutions are also welcome.

Please reach out to us on [email protected] / Whatsapp +919998367796 / Skype id: anitagovilkar.abhijit

We will be happy to post videos as per your requirements also. Do write to us.

Pie chart (circle graph) - A special chart that uses "pie slices" to show relative sizes of data.
A circle graph is a circular chart divided into sectors.The size of each sector is proportional to the information it represents. It is drawn on the circle. The degree of the circle is 3600 so each data is first converted into degree and then we can draw the circle graph. It shows the relationship between a whole and its parts. How to construct Pie-chart
1) Calculate Percentages : For data that is not already given as a percentage, convert the amounts for each part, or data group size, into a percentage of the whole.
2) Draw the Graph : Draw a circle and draw in a sector for each data group. Try to make the sector sizes look as close to the percentage of the circle as the percentage of the data group.
3) Title and Label the Graph : Label the sectors with the data group name and percentage. Then add a title to the graph. This is the same as the title of the table.

Example :
The following table represents the area of the various continents of the world in millions of km2. Draw a pie graph for the data.

Continent Area(millions of km2)
A
30
B
25
C
5
D
20

Solution :
Continent Area(millions of km2) In Fraction Central angle
A
30
(30 /80) = 3/8 (3 / 8)x 360 = 1350
B
25
(25 /80) = 5/16 (5 / 16)x 360 = 112.50
C
5
(5 /80) = 1/16 (1 / 16)x 360 = 22.50
D
20
(20 /80) = 1/8 (1 / 4)x 360 = 900
Total ->
80



From Pie chart to statistics
8th grade math
Home Page