Pie Chart
AI Application Areas
Light theme donut showing AI usage across industries
Output
Python
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(figsize=(10, 6), facecolor='#ffffff')
ax.set_facecolor('#ffffff')
areas = ['Healthcare', 'Finance', 'Retail', 'Manufacturing', 'Transport', 'Education']
investment = [22, 25, 18, 15, 12, 8]
colors = ['#059669', '#10b981', '#34d399', '#6ee7b7', '#a7f3d0', '#d1fae5']
wedges, texts, autotexts = ax.pie(investment, labels=areas, autopct='%1.0f%%',
colors=colors, startangle=90,
wedgeprops={'width': 0.55, 'edgecolor': 'white', 'linewidth': 2})
for text in texts:
text.set_color('#1f2937')
text.set_fontsize(10)
for autotext in autotexts:
autotext.set_color('#064e3b')
autotext.set_fontweight('bold')
centre_circle = plt.Circle((0, 0), 0.35, fc='#ffffff')
ax.add_patch(centre_circle)
ax.text(0, 0, 'AI', ha='center', va='center', fontsize=16, fontweight='bold', color='#059669')
ax.set_title('AI Application Areas', fontsize=16, fontweight='bold', color='#1f2937', pad=20)
plt.tight_layout()
Library
Matplotlib
Category
Basic Charts
More Pie Chart examples
☕