text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import numpy as np # linear algebra

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn  as sns

df = pd.read_csv('/kaggle/input/bbc-fulltext-and-category/bbc-text.csv')
df

df.isna().sum()

sns.countplot(df['category'])
plt.grid(True, axis='y')
plt.yticks(np.arange(0, 550, 50))
plt.title('Count of Categories')
plt.show()