Radar Chart
Gaming Console Performance Analysis
Dark-themed radar chart comparing gaming consoles across graphics power, game library, online services, VR support, and value.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
# Console capabilities
categories = ['Graphics Power', 'Game Library', 'Exclusives', 'Online Services',
'Backward Compat', 'VR Support', 'Price Value', 'Controller Quality']
ps5 = [95, 90, 95, 88, 80, 92, 82, 92]
xbox = [95, 85, 75, 95, 98, 85, 90, 88]
switch = [60, 88, 92, 70, 65, 40, 85, 80]
steam_deck = [80, 98, 50, 85, 95, 85, 88, 75]
N = len(categories)
angles = np.linspace(0, 2 * np.pi, N, endpoint=False).tolist()
angles += angles[:1]
ps5 += ps5[:1]
xbox += xbox[:1]
switch += switch[:1]
steam_deck += steam_deck[:1]
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
ax.plot(angles, ps5, 'o-', linewidth=2.5, color='#276CF5', label='PlayStation 5', markersize=7)
ax.fill(angles, ps5, alpha=0.2, color='#276CF5')
ax.plot(angles, xbox, 's-', linewidth=2.5, color='#6CF527', label='Xbox Series X', markersize=7)
ax.fill(angles, xbox, alpha=0.2, color='#6CF527')
ax.plot(angles, switch, '^-', linewidth=2.5, color='#C82909', label='Nintendo Switch', markersize=7)
ax.fill(angles, switch, alpha=0.2, color='#C82909')
ax.plot(angles, steam_deck, 'D-', linewidth=2.5, color='#5314E6', label='Steam Deck', markersize=7)
ax.fill(angles, steam_deck, 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('Gaming Console Comparison', fontsize=16, color='#f8fafc',
fontweight='bold', pad=25)
ax.legend(loc='upper right', bbox_to_anchor=(1.2, 1.1), fontsize=10,
frameon=True, facecolor='#1e293b', edgecolor='#334155', labelcolor='#e2e8f0')
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Polar Charts
☕