I'm tring to plot distribution of some column by other column (both categoricals). In this example, I want to plot the ditribution of sexual orientation by city in California: My data contains profiles of people from OkCupid app.
I've tried the following countplot:
sns.countplot(x='city',data=df_big_cities, hue='orientation')
And here what I've got:
But I want to add the precentage of every orientation for each city (each city should sums up to 100%). There's any cool way to do that?
Thanks,