CBSE Arts (English Medium) Class 12 Important Questions for Informatics Practices - Plotting Data using Matplotlib
Advertisements
Advertisements
Chapter wise important questions with answers and solutions for Informatics Practices in CBSE Arts (English Medium) Class 12.
Write Python code to plot a bar chart for India’s medal tally as shown below:

Also, give a suitable python statement to save this chart.
Chapter: [4] Plotting Data using Matplotlib
Concept: The Pandas Plot Function (Pandas Visualisation)
Write a python program to plot a line chart based on the given data to depict the changing weekly average temperature in Delhi for four weeks.
Week=[1,2,3,4]
Avg_week_temp=[40,42,38,44]
Chapter: [4] Plotting Data using Matplotlib
Concept: The Pandas Plot Function (Pandas Visualisation)
