Pie Chart
Mobile App Categories
Dark theme pie showing app store download categories
Output
Python
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(figsize=(10, 6), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
categories = ['Games', 'Social', 'Entertainment', 'Productivity', 'Education', 'Health']
downloads = [32, 22, 18, 12, 10, 6]
colors = ['#06b6d4', '#22d3ee', '#67e8f9', '#a5f3fc', '#cffafe', '#ecfeff']
explode = (0.05, 0, 0, 0, 0, 0)
wedges, texts, autotexts = ax.pie(downloads, labels=categories, autopct='%1.0f%%',
colors=colors, explode=explode, startangle=45,
wedgeprops={'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')
ax.set_title('Mobile App Downloads by Category', fontsize=16, fontweight='bold', color='white', pad=20)
plt.tight_layout()
Library
Matplotlib
Category
Basic Charts
More Pie Chart examples
☕