import matplotlib.pyplot as plt
tempos_resposta = [32, 45, 28, 62, 54, 48, 37, 41, 29, 51, 42, 33, 50, 28, 52, 28, 28]
contagem_tempos = {}
for tempo in tempos_resposta:
if tempo in contagem_tempos:
contagem_tempos[tempo] += 1
else:
contagem_tempos[tempo] = 1
labels = contagem_tempos.keys()
sizes = contagem_tempos.values()
plt.figure(figsize=(8, 6))
plt.pie(sizes, labels=labels, autopct='%1.1f%%', startangle=140)
plt.axis('equal')
plt.title('Distribuição dos Tempos de Resposta')
plt.show()
To embed this project on your website, copy the following code and paste it into your website's HTML: