Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,8 @@ def analyze_investors(file):
|
|
| 39 |
|
| 40 |
# Pie Chart
|
| 41 |
#ax1.pie(cluster_counts, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90)
|
| 42 |
-
|
|
|
|
| 43 |
ax1.set_title('Fund Type Distribution')
|
| 44 |
ax1.axis('equal')
|
| 45 |
|
|
|
|
| 39 |
|
| 40 |
# Pie Chart
|
| 41 |
#ax1.pie(cluster_counts, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90)
|
| 42 |
+
# Donut Chart
|
| 43 |
+
ax1.pie(cluster_counts, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90, wedgeprops={'width': 0.3})
|
| 44 |
ax1.set_title('Fund Type Distribution')
|
| 45 |
ax1.axis('equal')
|
| 46 |
|