Untitled
unknown
plain_text
a year ago
486 B
5
Indexable
import matplotlib.pyplot as plt # Data labels = ['Solana', 'Cardano', 'Savings // Driving', 'Hbar', 'LISA'] sizes = [50, 12.5, 18.75, 6.25, 12.5] # Percentages colors = ['gold', 'lightcoral', 'lightskyblue', 'lightgreen', 'orange'] # Plot plt.figure(figsize=(8, 8)) plt.pie(sizes, labels=labels, colors=colors, autopct='%1.1f%%', startangle=140) plt.title('Distribution of Funds') plt.axis('equal') # Equal aspect ratio ensures that pie is drawn as a circle. # Show plot plt.show()
Editor is loading...
Leave a Comment