3D Scatter
Startup Ecosystem Analysis
Venture capital analysis showing startup revenue, team size, and funding by sector.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
np.random.seed(999)
# Startup metrics
n_startups = 140
revenue = np.random.exponential(2, n_startups) + 0.1 # Million $
employees = np.random.exponential(30, n_startups) + 5
funding = np.random.exponential(10, n_startups) + 1 # Million $
# Sector
sector = np.random.choice(['SaaS', 'Fintech', 'Healthcare', 'E-commerce', 'AI/ML'], n_startups)
sector_colors = {
'SaaS': '#27D3F5',
'Fintech': '#6CF527',
'Healthcare': '#F5276C',
'E-commerce': '#F5B027',
'AI/ML': '#4927F5'
}
colors = [sector_colors[s] for s in sector]
fig = plt.figure(figsize=(10, 8), facecolor='#ffffff')
ax = fig.add_subplot(111, projection='3d', facecolor='#ffffff')
ax.scatter(revenue, employees, funding, c=colors, s=funding*5,
alpha=0.7, edgecolors='#374151', linewidths=0.3)
ax.set_xlabel('Revenue ($M)', color='#1f2937', fontsize=10)
ax.set_ylabel('Employees', color='#1f2937', fontsize=10)
ax.set_zlabel('Funding ($M)', color='#1f2937', fontsize=10)
ax.set_title('Startup Ecosystem Analysis', color='#1f2937', fontsize=14, fontweight='bold', pad=20)
ax.tick_params(colors='#6b7280', labelsize=8)
ax.xaxis.pane.fill = False
ax.yaxis.pane.fill = False
ax.zaxis.pane.fill = False
ax.xaxis.pane.set_edgecolor('#e5e7eb')
ax.yaxis.pane.set_edgecolor('#e5e7eb')
ax.zaxis.pane.set_edgecolor('#e5e7eb')
ax.view_init(elev=20, azim=45)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
3D Charts
☕