diff --git a/Program's_Contributed_By_Contributors/Python_Programs/piechart.py b/Program's_Contributed_By_Contributors/Python_Programs/piechart.py new file mode 100644 index 0000000000..52b09d682f --- /dev/null +++ b/Program's_Contributed_By_Contributors/Python_Programs/piechart.py @@ -0,0 +1,7 @@ +import matplotlib.pyplot as plt +Partition = 'Holidays', 'Eating_Out', 'Shopping', 'Groceries' +sizes = [200, 150, 260, 24s0] +fig1, ax1 = plt.subplots() +ax1.pie(sizes, labels=Partition, autopct='%1.1f%%', shadow=True, startangle=90) +ax1.axis('equal') +plt.show() \ No newline at end of file