what plot is used to show 2 categorical variables python code example
Example 1: plot categorical data matplotlib
df['colour'].value_counts().plot(kind='bar')
Example 2: simple graph in matplotlib categorical variables
tips = sns.load_dataset("tips")
sns.catplot(x="day", y="total_bill", data=tips)