Radar Chart
Cybersecurity Threat Profile Analysis
Dark-themed radar chart comparing different cyber threat actors across attack sophistication, persistence, resources, and target selection.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
# Threat actor capabilities
categories = ['Sophistication', 'Persistence', 'Resources', 'Stealth',
'Target Selection', 'Exploit Dev', 'Social Engineering', 'Infrastructure']
apt_group = [95, 98, 92, 95, 90, 88, 75, 95]
ransomware = [75, 70, 80, 65, 60, 70, 85, 75]
hacktivist = [55, 50, 45, 40, 70, 45, 80, 50]
insider = [60, 85, 30, 90, 95, 35, 50, 25]
N = len(categories)
angles = np.linspace(0, 2 * np.pi, N, endpoint=False).tolist()
angles += angles[:1]
apt_group += apt_group[:1]
ransomware += ransomware[:1]
hacktivist += hacktivist[:1]
insider += insider[:1]
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
ax.plot(angles, apt_group, 'o-', linewidth=2.5, color='#F5276C', label='APT Group', markersize=7)
ax.fill(angles, apt_group, alpha=0.2, color='#F5276C')
ax.plot(angles, ransomware, 's-', linewidth=2.5, color='#27D3F5', label='Ransomware Gang', markersize=7)
ax.fill(angles, ransomware, alpha=0.2, color='#27D3F5')
ax.plot(angles, hacktivist, '^-', linewidth=2.5, color='#6CF527', label='Hacktivist', markersize=7)
ax.fill(angles, hacktivist, alpha=0.2, color='#6CF527')
ax.plot(angles, insider, 'D-', linewidth=2.5, color='#F5B027', label='Insider Threat', markersize=7)
ax.fill(angles, insider, alpha=0.2, color='#F5B027')
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('Cyber Threat Actor Profiles', fontsize=16, color='#f8fafc',
fontweight='bold', pad=25)
ax.legend(loc='upper right', bbox_to_anchor=(1.22, 1.1), fontsize=10,
frameon=True, facecolor='#1e293b', edgecolor='#334155', labelcolor='#e2e8f0')
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Polar Charts
☕