Polar Chart
Vehicle Diagnostics Wheel
Automotive sensor readings visualization
Output
Python
import matplotlib.pyplot as plt
import numpy as np
sensors = ['Engine', 'Brakes', 'Tires', 'Battery', 'Oil', 'Coolant', 'Trans', 'Exhaust']
health = [95, 88, 72, 85, 78, 92, 80, 65]
angles = np.linspace(0, 2 * np.pi, len(sensors), endpoint=False)
width = 2 * np.pi / len(sensors) * 0.75
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
colors = ['#6CF527' if h > 85 else '#F5B027' if h > 70 else '#F5276C' for h in health]
bars = ax.bar(angles, health, width=width, bottom=10, alpha=0.8)
for bar, color in zip(bars, colors):
bar.set_facecolor(color)
bar.set_edgecolor('#0a0a0f')
bar.set_linewidth(2)
ax.set_xticks(angles)
ax.set_xticklabels(sensors, fontsize=10, color='white', fontweight='500')
ax.set_ylim(0, 100)
ax.set_yticks([25, 50, 75, 100])
ax.set_yticklabels(['', '', '', ''], fontsize=9)
ax.spines['polar'].set_color('#555555')
ax.grid(color='#555555', linewidth=0.8, alpha=0.7)
ax.set_title('Vehicle Diagnostics Wheel', fontsize=16, color='white', fontweight='bold', pad=20, y=1.08)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Part-to-Whole
More Polar Chart examples
☕