Pie Chart

Remote Work Preferences

Light theme donut showing work location preferences

Output
Remote Work Preferences
Python
import matplotlib.pyplot as plt
import numpy as np

fig, ax = plt.subplots(figsize=(10, 6), facecolor='#ffffff')
ax.set_facecolor('#ffffff')

options = ['Fully Remote', 'Hybrid', 'Office Only', 'Flexible']
preferences = [38, 42, 12, 8]
colors = ['#8b5cf6', '#a78bfa', '#c4b5fd', '#ddd6fe']

wedges, texts, autotexts = ax.pie(preferences, labels=options, autopct='%1.0f%%',
                                   colors=colors, startangle=90,
                                   wedgeprops={'width': 0.5, 'edgecolor': 'white', 'linewidth': 3})

for text in texts:
    text.set_color('#1f2937')
    text.set_fontsize(11)
for autotext in autotexts:
    autotext.set_color('white')
    autotext.set_fontweight('bold')

ax.set_title('Remote Work Preferences', fontsize=16, fontweight='bold', color='#1f2937', pad=20)
plt.tight_layout()
Library

Matplotlib

Category

Basic Charts

Did this help you?

Support PyLucid to keep it free & growing

Support