I would like to visualize the distribution of gender in clusters that I got via machine learning.
I want to create something like this: (source: https://seaborn.pydata.org/tutorial/categorical.html)
The problem is, the gender variable in my dataset is now gender_male with values 0 and 1 and gender_female with values 0 and 1, which I don’t understand how to visualize.
I would be very grateful for any help