text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

data = pd.read_csv('../input/breast-cancer/breast-cancer - breast-cancer.csv')

plt.title('Diagnostic Distribution')
C = data['diagnosis'].value_counts()
C.plot(kind='pie')
print(C)