Radar Chart

Fitness Training Methodology Comparison

Dark-themed radar chart comparing different fitness training styles across strength, endurance, flexibility, and fat loss effectiveness.

Output
Fitness Training Methodology Comparison
Python
import matplotlib.pyplot as plt
import numpy as np

# Training methodology effects
categories = ['Strength Gains', 'Muscle Building', 'Cardio Fitness', 'Flexibility',
              'Fat Loss', 'Time Efficiency', 'Injury Risk', 'Sustainability']
              
powerlifting = [98, 85, 50, 35, 60, 70, 75, 80]
crossfit = [80, 75, 90, 65, 88, 85, 60, 75]
yoga = [40, 30, 55, 98, 50, 70, 95, 95]
hiit = [65, 60, 95, 50, 95, 98, 65, 70]

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

powerlifting += powerlifting[:1]
crossfit += crossfit[:1]
yoga += yoga[:1]
hiit += hiit[:1]

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

ax.plot(angles, powerlifting, 'o-', linewidth=2.5, color='#C82909', label='Powerlifting', markersize=7)
ax.fill(angles, powerlifting, alpha=0.2, color='#C82909')

ax.plot(angles, crossfit, 's-', linewidth=2.5, color='#F5B027', label='CrossFit', markersize=7)
ax.fill(angles, crossfit, alpha=0.2, color='#F5B027')

ax.plot(angles, yoga, '^-', linewidth=2.5, color='#27F5B0', label='Yoga', markersize=7)
ax.fill(angles, yoga, alpha=0.2, color='#27F5B0')

ax.plot(angles, hiit, 'D-', linewidth=2.5, color='#5314E6', label='HIIT', markersize=7)
ax.fill(angles, hiit, alpha=0.2, color='#5314E6')

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

ax.yaxis.grid(True, color='#1e293b', linestyle='-', linewidth=0.8)
ax.xaxis.grid(True, color='#334155', linestyle='-', linewidth=0.5)
ax.spines['polar'].set_color('#334155')
ax.tick_params(axis='y', colors='#94a3b8')

ax.set_title('Fitness Training Methodology Analysis', fontsize=16, color='#f8fafc',
             fontweight='bold', pad=25)

ax.legend(loc='upper right', bbox_to_anchor=(1.18, 1.1), fontsize=10,
          frameon=True, facecolor='#1e293b', edgecolor='#334155', labelcolor='#e2e8f0')

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

Polar Charts

Did this help you?

Support PyLucid to keep it free & growing

Support