Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
361 B
0
Indexable
Never
import matplotlib.pyplot as plt

# Data for the pie chart
periods = ['May-June', 'June-July']
consumption_amounts = [14300, 15200]

# Create the pie chart
plt.figure(figsize=(8, 6))
plt.pie(consumption_amounts, labels=periods, autopct='%1.1f%%', startangle=140, colors=['#ff9999','#66b3ff'])
plt.title('Electricity Token Consumption (May-July 2024)')
plt.show()
Leave a Comment