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. ptsHints:See the matplotlib documentation for pie plotsUse the autopctf argumentvalue 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
