Page 250 - Artificial Intellegence_v2.0_Class_11
P. 250

Perform the following steps to construct a Pie Chart:
              1.   Find the percentage of each category out of the whole by dividing each value by the total value and multiplying
                  by 100.


                             Storybooks    Fiction     Murder Mystery    Comic Books    Self-help Books
                             Total=85      30/85*100   20/85*100         25/85*100      10/85*100
                                           =35%        =24%              =29%           =12%

              2.  Find the central angle for each category using the formula:

                  Value of the component
                                        ×  360°
                        Total value


                             Storybooks    Fiction     Murder Mystery    Comic Books    Self-help Books
                             Total=85      30/85*360   20/85*360         25/85*360      10/85*360
                                           =126°       =85°              =106°          =42°

              3.  Draw a circle of any radius.
              4.  Draw a horizontal radius in the circle.
              5.   Starting with the horizontal radius, draw radii, making central angles corresponding to the values of the respective
                  categories.
              6.  Repeat the process for all the categories.


                                                  No. of books read in a month




                                                  Self-help books
                                                     12%


                                                                    Fiction            Fiction
                                                                     35%
                                                                                       Murder Mystery
                                               Comic Books
                                                 29%                                   Comic Books
                                                                                       Self-help books
                                                          Murder Mystery
                                                              24%







              It is easy to understand from the above graph that the person likes to read fiction books the most. The advantages of
              pie charts are:
              •  They can condense a large dataset in visual form.

              •  They can be visually simpler than other types of graphs.
              •   They visually depict facts as an element of a whole, which can be an effective communication tool for even an
                  inexperienced audience.
              •  They allow the audience to see a data comparison at a glance, allowing them to perform an immediate analysis.


                    248     Touchpad Artificial Intelligence (Ver. 2.0)-XI
   245   246   247   248   249   250   251   252   253   254   255