text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

df = pd.read_csv('../input/red-wine-quality-cortez-et-al-2009/winequality-red.csv')

df.shape

df.quality.unique()

plt.figure(1, figsize=(10, 10))
df['quality'].value_counts().plot.pie(autopct='%1.1f%%')
plt.show()