# import necessary libraries
import matplotlib.pyplot as plt
import seaborn as sns

# load the example dataset
iris = sns.load_dataset('iris')

# count number of flowers in each category
counts = iris.species.value_counts()

# plot the counts using plt.pie
plt.pie(counts, labels=counts.index, autopct='%1.1f%%', 
        startangle=90)

# give the plot a title
plt.title('Iris Species Distribution')

# display the plot
plt.show()