Polar Chart

Marketing Channel Performance

ROI comparison across advertising channels - light theme

Output
Marketing Channel Performance
Python
import matplotlib.pyplot as plt
import numpy as np

channels = ['Social', 'Search', 'Email', 'Display', 'Video', 'Affiliate']
roi = [82, 95, 78, 55, 72, 65]

angles = np.linspace(0, 2 * np.pi, len(channels), endpoint=False)
width = 2 * np.pi / len(channels) * 0.75

fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#ffffff')
ax.set_facecolor('#ffffff')

colors = ['#F5276C', '#27D3F5', '#6CF527', '#F5B027', '#4927F5', '#F54927']
bars = ax.bar(angles, roi, width=width, bottom=10, 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(channels, fontsize=11, color='#1f2937', fontweight='500')
ax.set_ylim(0, 110)
ax.set_yticks([25, 50, 75, 100])
ax.set_yticklabels(['25%', '50%', '75%', '100%'], fontsize=9, color='#374151')
ax.spines['polar'].set_color('#e5e7eb')
ax.grid(color='#e5e7eb', linewidth=0.8)
ax.set_title('Marketing Channel Performance', fontsize=16, color='#1f2937', fontweight='bold', pad=20, y=1.08)

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

Part-to-Whole

Did this help you?

Support PyLucid to keep it free & growing

Support