27/11/2022 7:22 pm
Topic starter
1
Given the school Result data. Write a program to plot a bar chart to analyse the performance of student on subject wise.
This topic was modified 2 years ago 2 times by CodeWithBishal-admin
1 Answer
1
27/11/2022 7:23 pm
Topic starter
import matplotlib.pyplot as plt subject = ['Physic','Chemistry', 'Biology','IP'] percentage =[85,78,90,100] plt.bar(subject,percentage) plt.title('Analyse Performance of Student on Subject Wise') plt.xlabel('Subject') plt.ylabel('Percentage of Students passed') plt.show()