In this charts the numbers reversed true it supposed to be 80% and false 19% but i don’t know why this happed can you help me to solve the problem
percentage_cg = (cg['rated'].value_counts() / len(cg)) * 100
plt.figure(figsize=(10, 6))
sns.barplot(x=percentage_cg.index, y=percentage_cg.values)
for index, value in enumerate(percentage_cg):
plt.text(index, value + 0.5, f'{value:.2f}%',ha='center')
plt.xlabel('Scientific Name')
plt.ylabel('Percentage')
plt.title('Percentage Distribution of Top 15 Scientific Names')
plt.xticks(rotation=45, ha='right')
plt.tight_layout()
plt.show()
the problem
the problem here