Question: Accept user input of a zip code. Based on that zip code, create a pie chart that plots the percentage of each letter grade that

Accept user input of a zip code. Based on that zip code, create a pie chart that plots the percentage of each letter grade that makes up the total. If the user does not enter a zip code that exists in the csv file, print an error message accordingly. The title of the graph should be the zip code provided by the user and a legend should be included. 10ptsHints:See the matplotlib documentation for pie plotsUse the autopct='%1.1f%%' argument/value to place the appropriate percentage inside each segment of the chartDO NOT spend time fixing overlapping labels

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!