DATA VISUALIZATION - Part 2
DATA VISUALIZATION - Part 2
DATA VISUALIZATION - Part 2
PYTHON PANDAS
INFORMATICS PRACTICES
CLASS XII
LINE PLOT example1:
Question: Draw a line graph where the x axis shows the individual classes and the y
axis shows the number of students participating in an interhouse event.
plt.subplot(2,1,2)
plt.plot(x,z,'m',linestyle="dotted")
plt.title(" Students participating for COMPUTERS")
plt.xlabel("CLASS", fontsize="8",color="red")
plt.ylabel("NO OF STUDENTS PARTICIPATING", fontsize="8", color="blue")
plt.grid(True)
plt.show()