使用什么程序包和函数来创建此图?

I have a Data Science related project. I need to visualize my variables. I can do it using bar charts and scatterplots, but I have been asked to make a diagram like this. The problem is, I don't even know where to begin or what packages to use. If someone can guide me, It will be great. I must use Python. The diagram I need to make