matplotlib count plot code example
Example 1: countplot in pandas
>>> import seaborn as sns
>>> sns.set_theme(style="darkgrid")
>>> titanic = sns.load_dataset("titanic")
>>> ax = sns.countplot(x="class", data=titanic)
Example 2: sns.countplot
from sklearn.preprocessing import StandardScaler