Radar Chart

Battle Royale Loadout Comparison

Radar chart comparing different weapon loadout builds in battle royale games across damage, range, mobility, stealth, and resource efficiency.

Output
Battle Royale Loadout Comparison
Python
import matplotlib.pyplot as plt
import numpy as np

# Loadout stats
categories = ['Close Combat', 'Long Range', 'Mobility', 'Stealth',
              'Resource Efficiency', 'Versatility', 'Lethality', 'Survivability']
              
sniper_build = [45, 98, 60, 85, 70, 55, 90, 65]
smg_build = [95, 40, 92, 50, 75, 70, 80, 60]
balanced_build = [75, 75, 75, 70, 85, 95, 75, 80]
tank_build = [85, 55, 50, 40, 60, 65, 70, 95]

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

sniper_build += sniper_build[:1]
smg_build += smg_build[:1]
balanced_build += balanced_build[:1]
tank_build += tank_build[:1]

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

ax.plot(angles, sniper_build, 'o-', linewidth=2.5, color='#5314E6', label='Sniper Build', markersize=7)
ax.fill(angles, sniper_build, alpha=0.1, color='#5314E6')

ax.plot(angles, smg_build, 's-', linewidth=2.5, color='#F54927', label='SMG Rush Build', markersize=7)
ax.fill(angles, smg_build, alpha=0.1, color='#F54927')

ax.plot(angles, balanced_build, '^-', linewidth=2.5, color='#27D3F5', label='Balanced Build', markersize=7)
ax.fill(angles, balanced_build, alpha=0.1, color='#27D3F5')

ax.plot(angles, tank_build, 'D-', linewidth=2.5, color='#6CF527', label='Tank Build', markersize=7)
ax.fill(angles, tank_build, alpha=0.1, color='#6CF527')

ax.set_xticks(angles[:-1])
ax.set_xticklabels(categories, fontsize=10, 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('Battle Royale Loadout Analysis', fontsize=16, color='#1f2937',
             fontweight='bold', pad=25)

ax.legend(loc='upper right', bbox_to_anchor=(1.18, 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