Plot city population as a pie chart for Washington cities with more than 100,000 people

import matplotlib.pyplot as plt
labels = 'Seattle', 'Spokane', 'Tacoma', 'Vancouver', 'Bellevue','Kent', 'Everett', 'Renton', 'Spokane Valley', 'Federal Way'
sizes = [737015, 228989, 219346, 190915, 151854, 136588, 110629, 106785, 102976, 101030]
fig1, ax1 = plt.subplots()
ax1.pie(sizes, labels=labels, autopct='%1.1f%%',
shadow=True, startangle=90)

About Linuxgal

Need a spiritual home? Consider joining us at Mary Queen of the Universe Latter-day Buddhislamic Free Will Christian UFO Synagogue of Vishnu
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s