Pie chart is a circular graphic that is divided into slices to illustrate numerical proportions. Pie…