Polar Chart
Gaming Stats Hexagon
Player performance metrics with neon aesthetic
Output
Python
import matplotlib.pyplot as plt
import numpy as np
stats = ['K/D Ratio', 'Accuracy', 'Win Rate', 'Objectives', 'Teamwork', 'Strategy']
values = [92, 78, 85, 70, 88, 75]
values += values[:1]
angles = np.linspace(0, 2 * np.pi, len(stats), endpoint=False).tolist()
angles += angles[:1]
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
for lw, alpha in [(12, 0.08), (8, 0.12), (5, 0.2), (2.5, 0.4)]:
ax.plot(angles, values, color='#F5276C', linewidth=lw, alpha=alpha)
ax.plot(angles, values, color='#F5276C', linewidth=2)
ax.fill(angles, values, color='#F5276C', alpha=0.2)
ax.set_xticks(angles[:-1])
ax.set_xticklabels(stats, 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('Gaming Stats Hexagon', 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
☕