Concept

Pie Charts

To create a pie chart, use plt.pie() plt.pie() requires 1 argument, 'x', which is the wedge sizes, and comes in the form of arrays. The wedges are plotted counterclockwise, starting from the x-axis.

plt.pie([20, 90, 80, 11])

results in the graph

Image 0

0

1

Updated 2021-05-08

Tags

Data Science

Related