Page 132 - Computer Genius Class 06
P. 132

A graph is an effective way to display
                  data in the form of pictures in an
                  organised way. Graphs are the common
                  way to visually illustrate relationships
                  in the data. The purpose of a graph is
                  to  present  information  that  is  too
                  complicated  in  a  simplified  visual
                  manner. It presents a large amount of
                  data in less space. Graphs are also
                  known as charts. There are different
                  types of charts such as line chart, bar
                  chart, pie chart, etc.
                  You have studied different types of charts and also drew them in some softwares such as Excel. You
                  can also do this with the help of coding in AI Connect.

                  Blocks to Draw Graphs


                  Blocks of Graph Plot category are used to draw graphs in AI Connect. There are two sub-categories
                  in it, Matplot sub-category and Pygal sub-category.
                  Some of the blocks of Pygal sub-category are given here:

                                      Bar Chart block is used  to plot a vertical bar chart
                                      (column chart).


                                      Horizontal  Bar  Chart  block  is  used  to  plot  a
                                      horizontal bar chart.


                                      add label block is used to add data and label of
                                      the data. By clicking on ‘+’ button, multiple data
                                      can be added.


                                      Title block is used to write title of the chart. Any
                                      text or title can be written inside the block.


                                      Render Chart block is used to show chart on the
                                      output screen.

                                      Pie Chart block is used to plot a Pie chart (circular
                                      graph).




                          Bar chart are of two types, vertical bar chart (column chart) and horizontal bar
                          chart.




                      130    Computer Genius-VI
   127   128   129   130   131   132   133   134   135   136   137