Pie Chart
Cloud Provider Market Share
Dark theme donut chart showing cloud computing market distribution
Output
Python
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(figsize=(10, 6), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
providers = ['AWS', 'Azure', 'Google Cloud', 'Alibaba', 'Others']
market_share = [32, 23, 10, 5, 30]
colors = ['#f97316', '#fb923c', '#fdba74', '#fed7aa', '#ffedd5']
wedges, texts, autotexts = ax.pie(market_share, labels=providers, autopct='%1.1f%%',
colors=colors, startangle=90,
wedgeprops={'width': 0.6, 'edgecolor': '#0a0a0f', 'linewidth': 2})
for text in texts:
text.set_color('white')
text.set_fontsize(10)
for autotext in autotexts:
autotext.set_color('#0a0a0f')
autotext.set_fontweight('bold')
centre_circle = plt.Circle((0, 0), 0.32, fc='#0a0a0f')
ax.add_patch(centre_circle)
ax.text(0, 0, 'Cloud\n2024', ha='center', va='center', fontsize=12,
fontweight='bold', color='white')
ax.set_title('Cloud Provider Market Share', fontsize=16, fontweight='bold', color='white', pad=20)
plt.tight_layout()
Library
Matplotlib
Category
Basic Charts
More Pie Chart examples
☕