Radar Chart

Soccer Team Tactical Analysis

Radar chart comparing soccer/football team tactical profiles across attacking patterns, defensive strength, possession style, and set-piece efficiency.

Output
Soccer Team Tactical Analysis
Python
import matplotlib.pyplot as plt
import numpy as np

# Tactical dimensions
categories = ['Possession', 'Counter Attack', 'High Press', 'Set Pieces',
              'Defensive Solidity', 'Width Play', 'Through Balls', 'Aerial Threat']
              
team1 = [92, 65, 88, 75, 80, 85, 88, 70]  # Possession-based
team2 = [60, 95, 75, 80, 90, 70, 82, 85]  # Counter-attacking
team3 = [75, 78, 92, 88, 82, 88, 75, 92]  # Aggressive pressing

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

team1 += team1[:1]
team2 += team2[:1]
team3 += team3[:1]

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

ax.plot(angles, team1, 'o-', linewidth=2.5, color='#276CF5', label='City Style', markersize=7)
ax.fill(angles, team1, alpha=0.15, color='#276CF5')

ax.plot(angles, team2, 's-', linewidth=2.5, color='#C82909', label='Counter Style', markersize=7)
ax.fill(angles, team2, alpha=0.15, color='#C82909')

ax.plot(angles, team3, '^-', linewidth=2.5, color='#F5B027', label='Press Style', markersize=7)
ax.fill(angles, team3, alpha=0.15, color='#F5B027')

ax.set_xticks(angles[:-1])
ax.set_xticklabels(categories, fontsize=11, color='#374151', fontweight='500')
ax.set_ylim(0, 100)

ax.yaxis.grid(True, color='#e5e7eb', linestyle='-', linewidth=0.8)
ax.xaxis.grid(True, color='#d1d5db', linestyle='-', linewidth=0.5)
ax.spines['polar'].set_color('#d1d5db')

ax.set_title('Soccer Team Tactical Profiles', fontsize=16, color='#1f2937',
             fontweight='bold', pad=25)

ax.legend(loc='upper right', bbox_to_anchor=(1.15, 1.1), fontsize=10,
          frameon=True, facecolor='white', edgecolor='#e5e7eb')

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

Polar Charts

Did this help you?

Support PyLucid to keep it free & growing

Support