I have a dataset having frequencies of observations. I am doing exploratory data analysis. Following is the sample.
x1 x2 x3 x4 label
15 10 1 2 0
3 2 15 10 1
0 1 10 11 1
9 7 1 1 0
I want to plot a single plot using python that uses x1,x2....xn
at x-axis
and frequencies for every record at y axis but color codes the plot based on labels i.e blue for label 0 and red for label 1. Objective is to visualize if there is a relation between class label and values of variables. How to do that in python? Something like this.
But it uses one variable on x-axis and another on y-axis. I want to use all variables on x-axis and their frequencies on Y-axis.