Assignment No. 1
Assignment No. 1
Assignment No. 1
Data Visualization
Last date of submission – 22-10-2023
1. Write a python code to draw a line chart for the following data:
Q lps 0 75 150 200 250 300 350
H meters 37.8 36.2 34 32.4 28.5 22.3 12
a) Label the chart as Centrifugal Pump Performance curve.
b) Label the x axis as Discharge (LPS)
c) Label the y axis as Head (m)
2. Write a python code to draw a bar chart showing no. of ODI world cups won by
different countries.
a) Label the chart as ODI world cup winners
b) x axis will have the different countries in order of winning world cups.
c) Label the y axis as no. of titles
3. Write a python code to draw a histogram showing distribution no. of ODI matches
played by Indian players.
a) Label the chart distribution no. of ODI matches played by Indian Players
b) x axis will have the no. of matches (10 ranges based on max. no. of matches
played)
c) Label the y axis as no. players
4. Write a python code to draw Pump curve and system curve for the following data
in the same graph
Q (m3/min) 0 46 92 138 184 230
Hm (m) 68 64 54 42 26.4 8
Hsystem 32 43.039 76.156 131.35 208.62 307.98
a) Label the chart as Operating point of a Centrifugal Pump
b) Label the x axis as Discharge (m3/min)
c) Label the y axis as Head (m)
d) Show legends for pump curve and system curve