Now, we are going to look at the chart called pie.png
. This displays what students think the hardest topic covered throughout your math course is.
The data you will need to recreate this chart is in the lists unit_topics
and num_hardest_reported
.
Save your recreated chart to a file called my_pie_chart.png
.
Instructions
Create a figure of width 10
and height 8
.
Plot the num_hardest_reported
list as a pie chart.
Set the axes to be 'equal'
.
Label the slices with the unit_topics
list and put a percentage label on each slice, rounded to the nearest int
.
Add the title "Hardest Topics"
.
Save your figure to a file called my_pie_chart.png
.