Pie Chart

Vacation Destinations

Light theme pie showing popular travel destinations

Output
Vacation Destinations
Python
import matplotlib.pyplot as plt
import numpy as np

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

destinations = ['Beach', 'Mountains', 'City Tours', 'Adventure', 'Cruise', 'Staycation']
travelers = [28, 18, 22, 15, 10, 7]
colors = ['#0ea5e9', '#38bdf8', '#7dd3fc', '#bae6fd', '#e0f2fe', '#f0f9ff']

wedges, texts, autotexts = ax.pie(travelers, labels=destinations, autopct='%1.0f%%',
                                   colors=colors, startangle=90,
                                   wedgeprops={'edgecolor': 'white', 'linewidth': 2})

for text in texts:
    text.set_color('#1f2937')
    text.set_fontsize(10)
for autotext in autotexts:
    autotext.set_color('#0c4a6e')
    autotext.set_fontweight('bold')

ax.set_title('Vacation Destination 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