# Example 3: Barplot for Sectionsdata={"Section":["A","B","C","D","E"],"Students":[0,10,20,30,40]}sections=data["Section"]students=data["Students"]plt.figure(figsize=(6,5))bars=plt.bar(sections,students,color='salmon')# Annotating barsforbarinbars:plt.text(bar.get_x()+bar.get_width()/2,bar.get_height(),f'{bar.get_height():.2f}',ha='center',va='bottom',fontsize=12)# Adding labels and titleplt.xlabel("Sections",fontsize=14)plt.ylabel("Number of Students",fontsize=14)plt.title("Students in Different Sections",fontsize=16)plt.show()