Polar Chart
Cryptocurrency Portfolio Balance
Polar bar chart displaying cryptocurrency holdings distribution with neon glow aesthetic.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
# Crypto holdings
cryptos = ['BTC', 'ETH', 'SOL', 'ADA', 'DOT', 'AVAX', 'MATIC', 'LINK']
holdings = [35, 25, 12, 8, 7, 5, 5, 3] # Percentage of portfolio
colors = ['#F5B027', '#276CF5', '#4927F5', '#27D3F5', '#F527B0', '#F54927', '#6CF527', '#27F5B0']
# Angles
angles = np.linspace(0, 2 * np.pi, len(cryptos), endpoint=False)
width = 2 * np.pi / len(cryptos) * 0.85
# Dark theme
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
# Glow effect for bars
for i, (angle, height, color) in enumerate(zip(angles, holdings, colors)):
# Outer glow
ax.bar(angle, height * 1.05, width=width, color=color, alpha=0.15, bottom=0)
# Main bar
ax.bar(angle, height, width=width, color=color, alpha=0.85, edgecolor=color, linewidth=1.5)
# Styling
ax.set_ylim(0, 45)
ax.set_xticks(angles)
ax.set_xticklabels(cryptos, fontsize=12, color='white', fontweight='bold')
ax.set_yticks([10, 20, 30, 40])
ax.set_yticklabels(['10%', '20%', '30%', '40%'], fontsize=9, color='#888888')
ax.spines['polar'].set_color('#555555')
ax.grid(color='#555555', linewidth=0.8, alpha=0.7)
ax.tick_params(colors='#888888')
ax.set_title('Cryptocurrency Portfolio Distribution', fontsize=16, color='white', fontweight='bold', pad=25)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Part-to-Whole
More Polar Chart examples
☕