How to plot rate distributions from a binary target

I'm trying to do EDA on a dataset and I have found some visualizations someone else was able to produce but I can't seem to figure out how they did it. The dataset looks roughly like this:

default Gender Marriage
0 Male Married
0 Female Married
1 Female Single
0 Female Others

etc.. you get the idea.

These are the visualizations they were able to produce:

I have experience with visualizations in python so an example in Seaborn or Matplotlib would be great.

Topic matplotlib seaborn visualization python

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.