Polar Chart
Podcast Listener Demographics
Audience age distribution - light theme
Output
Python
import matplotlib.pyplot as plt
import numpy as np
age_groups = ['18-24', '25-34', '35-44', '45-54', '55-64', '65+']
listeners = [28, 35, 22, 10, 4, 1]
angles = np.linspace(0, 2 * np.pi, len(age_groups), endpoint=False)
width = 2 * np.pi / len(age_groups) * 0.8
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#ffffff')
ax.set_facecolor('#ffffff')
colors = ['#F5276C', '#F54927', '#F5B027', '#6CF527', '#27D3F5', '#4927F5']
bars = ax.bar(angles, listeners, width=width, bottom=2, alpha=0.8)
for bar, color in zip(bars, colors):
bar.set_facecolor(color)
bar.set_edgecolor('white')
bar.set_linewidth(2)
ax.set_xticks(angles)
ax.set_xticklabels(age_groups, fontsize=11, color='#1f2937', fontweight='500')
ax.set_ylim(0, 40)
ax.set_yticks([10, 20, 30, 40])
ax.set_yticklabels(['10%', '20%', '30%', '40%'], fontsize=9, color='#374151')
ax.spines['polar'].set_color('#e5e7eb')
ax.grid(color='#e5e7eb', linewidth=0.8)
ax.set_title('Podcast Listener Demographics', fontsize=16, color='#1f2937', fontweight='bold', pad=20, y=1.08)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Part-to-Whole
More Polar Chart examples
☕