Pie Chart

Podcast Genre Popularity

Light theme pie showing podcast listening preferences

Output
Podcast Genre Popularity
Python
import matplotlib.pyplot as plt
import numpy as np

fig, ax = plt.subplots(figsize=(10, 6), facecolor='#ffffff')
ax.set_facecolor('#ffffff')

genres = ['True Crime', 'Comedy', 'News', 'Business', 'Education', 'Sports']
listeners = [25, 22, 18, 15, 12, 8]
colors = ['#dc2626', '#ea580c', '#d97706', '#65a30d', '#0891b2', '#7c3aed']

wedges, texts, autotexts = ax.pie(listeners, labels=genres, autopct='%1.0f%%',
                                   colors=colors, startangle=90,
                                   wedgeprops={'edgecolor': 'white', 'linewidth': 2})

for text in texts:
    text.set_color('#1f2937')
    text.set_fontsize(10)
for autotext in autotexts:
    autotext.set_color('white')
    autotext.set_fontweight('bold')

ax.set_title('Podcast Genre Popularity', fontsize=16, fontweight='bold', color='#1f2937', pad=20)
plt.tight_layout()
Library

Matplotlib

Category

Basic Charts

Did this help you?

Support PyLucid to keep it free & growing

Support