Untitled

 avatar
unknown
plain_text
2 years ago
403 B
2
Indexable
import matplotlib.pyplot as plt

time_slots = ['10:00-10:05 AM', '11:00-11:05 AM', '12:00-12:05 PM', '1:00-1:05 PM', '2:00-2:05 PM', '3:00-3:05 PM']
people_count = [15, 20, 18, 22, 25, 16]

plt.figure(figsize=(8, 8))
plt.pie(people_count, labels=time_slots, autopct='%1.1f%%', startangle=140, counterclock=False)
plt.title('Number of People Entering the Store')
plt.axis('equal')

plt.show()
Editor is loading...
Leave a Comment