Untitled

 avatar
unknown
plain_text
a year ago
299 B
3
Indexable
import matplotlib.pyplot as plt

# Data
labels = ['Employed', 'Unemployed']
sizes = [14, 20]

# Create a pie chart
plt.pie(sizes, labels=labels, autopct='%1.1f%%', startangle=140)
plt.axis('equal')  # Equal aspect ratio ensures that pie is drawn as a circle.

# Show the plot
plt.show()
Editor is loading...
Leave a Comment