Bubble Chart

Unicorn Startups Bubble

Venture-backed unicorns visualized by valuation, growth rate, and employee count.

Output
Unicorn Startups Bubble
Python
import matplotlib.pyplot as plt
import numpy as np

np.random.seed(42)

fig, ax = plt.subplots(figsize=(14, 9), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')

startups = ['Stripe', 'SpaceX', 'Databricks', 'Canva', 'Discord', 'Figma', 'Notion', 'Airtable']
valuation = np.array([50, 150, 43, 40, 15, 20, 10, 11])
growth = np.array([45, 60, 75, 55, 40, 85, 90, 35])
employees = np.array([8000, 13000, 5500, 3500, 650, 800, 400, 900])

colors = ['#4927F5', '#F54927', '#6CF527', '#F5276C', '#27D3F5', '#F527B0', '#F5B027', '#27F5B0']
sizes = employees / 5

for glow_mult, glow_alpha in [(3.5, 0.02), (2.8, 0.04), (2.2, 0.06), (1.7, 0.10), (1.3, 0.15)]:
    ax.scatter(valuation, growth, s=sizes*glow_mult, c=colors, alpha=glow_alpha, edgecolors='none')

ax.scatter(valuation, growth, s=sizes, c=colors, alpha=0.9, edgecolors='none')
ax.scatter(valuation, growth, s=sizes*0.4, c=colors, alpha=0.4, edgecolors='none')
ax.scatter(valuation - np.sqrt(sizes)*0.15, growth + np.sqrt(sizes)*0.08, s=sizes*0.15, c='white', alpha=0.5, edgecolors='none')

for i, startup in enumerate(startups):
    offset_y = np.sqrt(sizes[i])/2 + 12
    ax.annotate(startup, (valuation[i], growth[i]), fontsize=11, color='white',
                ha='center', va='bottom', xytext=(0, offset_y), textcoords='offset points', fontweight='bold')

ax.text(0.0, 1.08, 'Unicorn Startups', transform=ax.transAxes, fontsize=24, color='white', fontweight='bold')
ax.text(0.0, 1.02, 'Valuation vs Growth · Bubble size = Employees', transform=ax.transAxes, fontsize=11, color='#555555')

ax.set_xlabel('Valuation (Billion $)', fontsize=14, color='#888888', fontweight='500', labelpad=15)
ax.set_ylabel('YoY Growth (%)', fontsize=14, color='#888888', fontweight='500', labelpad=15)
ax.tick_params(colors='#555555', labelsize=11, length=0)

for y in [20, 40, 60, 80, 100]:
    ax.axhline(y=y, color='#1a1a2e', linewidth=0.8, zorder=0)
for spine in ax.spines.values():
    spine.set_visible(False)

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

Pairwise Data

Did this help you?

Support PyLucid to keep it free & growing

Support