Polar Chart

Academic Skills Assessment

Student performance radar - light theme

Output
Academic Skills Assessment
Python
import matplotlib.pyplot as plt
import numpy as np

subjects = ['Math', 'Science', 'English', 'History', 'Art', 'PE']
scores = [88, 92, 75, 82, 95, 78]

scores += scores[:1]
angles = np.linspace(0, 2 * np.pi, len(subjects), endpoint=False).tolist()
angles += angles[:1]

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

ax.plot(angles, scores, color='#4927F5', linewidth=2.5)
ax.fill(angles, scores, color='#4927F5', alpha=0.3)

for angle, score in zip(angles[:-1], scores[:-1]):
    ax.scatter(angle, score, color='#4927F5', s=80, zorder=5, edgecolor='white', linewidth=2)

ax.set_xticks(angles[:-1])
ax.set_xticklabels(subjects, fontsize=11, color='#1f2937', fontweight='500')
ax.set_ylim(0, 100)
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('Academic Skills Assessment', 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