Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
299 B
1
Indexable
Never
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()
Leave a Comment