Page 251 - Artificial Intellegence_v2.0_Class_11
P. 251
Computational Thinking
Video Session
Scan the QR code or visit the following link to watch the video: Drawing Pie Charts
https://www.youtube.com/watch?v=1oShnkmA_ww
After watching the video, answer the following question:
What is the formula to calculate the angle of a slice in a pie chart?
Scatter Plots
A scatter plot (also called a scatterplot, scatter graph, or scatter diagram) is a type of graph which uses Cartesian
coordinates to display values of mainly two variables in a dataset. It typically consists of an X-axis (the horizontal axis),
a Y-axis (the vertical axis), and a series of dots. Each dot on the scatterplot signifies one observation from a data set.
The position of the dot on the scatterplot represents its value on the X-axis and Y-axis respectively.
Scatter plots usually represent a large amount of data. Scatter plots are used to inspect the relationship between two
variables. These help to analyse how much one variable affects the second variable. This relationship between the two
variables is called correlation. Scatterplots are used with continuous data. We are generally not concerned about single
observations, but rather about the structure of the whole dataset.
For example, a scatter plot showing the relation between the number of years of education and income of an individual:
Years of education 18 21 23 25 27
Income (` in thousands) 25 80 150 540 920
1000
Income (Rupees) in thousands 700
900
800
600
500
400
300
200
100
0
0 5 10 15 20 25 30
Years of Education
Note that to plot the points on the graph, you will show each one as an ordered pair (years, income.
Data Analysis (Computational Thinking) 249

