Radar Chart
Esports Team Analysis
Competitive gaming team performance metrics for CS2.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
# Esports team stats
categories = ['Kills', 'Map\nControl', 'Economy', 'Clutches', 'Team\nPlay', 'Strats']
team_a = [92, 85, 78, 88, 90, 82]
team_b = [85, 92, 88, 75, 85, 95]
N = len(categories)
angles = np.linspace(0, 2 * np.pi, N, endpoint=False).tolist()
angles += angles[:1]
team_a += team_a[:1]
team_b += team_b[:1]
fig, ax = plt.subplots(figsize=(8, 8), subplot_kw=dict(polar=True), facecolor='#ffffff')
ax.set_facecolor('#ffffff')
ax.plot(angles, team_a, 'o-', linewidth=3, color='#F5276C', label='Team Liquid', markersize=8)
ax.fill(angles, team_a, alpha=0.25, color='#F5276C')
ax.plot(angles, team_b, 's-', linewidth=3, color='#27D3F5', label='Cloud9', markersize=8)
ax.fill(angles, team_b, alpha=0.25, color='#27D3F5')
ax.set_xticks(angles[:-1])
ax.set_xticklabels(categories, fontsize=11, color='#374151', fontweight='600')
ax.set_ylim(0, 100)
ax.set_yticks([25, 50, 75, 100])
ax.set_yticklabels(['25', '50', '75', '100'], fontsize=9, color='#6b7280')
ax.yaxis.grid(True, color='#e5e7eb', linestyle='-', linewidth=0.8)
ax.xaxis.grid(True, color='#e5e7eb', linestyle='-', linewidth=0.8)
ax.legend(loc='upper right', bbox_to_anchor=(1.2, 1.1), fontsize=11,
facecolor='#ffffff', edgecolor='#e5e7eb')
plt.title('Esports Team Analysis - CS2', fontsize=16, color='#1f2937',
fontweight='bold', pad=20)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Polar Charts
☕