Polar Chart
Emotion Intensity Wheel
Psychological assessment visualization with vibrant segments
Output
Python
import matplotlib.pyplot as plt
import numpy as np
emotions = ['Joy', 'Trust', 'Fear', 'Surprise', 'Sadness', 'Disgust', 'Anger', 'Anticipation']
intensity = [85, 72, 35, 65, 28, 22, 45, 78]
angles = np.linspace(0, 2 * np.pi, len(emotions), endpoint=False)
width = 2 * np.pi / len(emotions) * 0.8
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
colors = ['#F5D327', '#6CF527', '#4927F5', '#27D3F5', '#276CF5', '#9C2007', '#F5276C', '#F5B027']
bars = ax.bar(angles, intensity, 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(1.5)
ax.set_xticks(angles)
ax.set_xticklabels(emotions, fontsize=10, color='white', fontweight='500')
ax.set_ylim(0, 100)
ax.set_yticks([25, 50, 75, 100])
ax.set_yticklabels(['', '', '', ''], fontsize=9)
ax.spines['polar'].set_color('#555555')
ax.grid(color='#555555', linewidth=0.8, alpha=0.7)
ax.set_title('Emotion Intensity Wheel', fontsize=16, color='white', fontweight='bold', pad=20, y=1.08)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Part-to-Whole
More Polar Chart examples
☕