While doing EDA of Titanic dataset in Kaggle I combined "Parch" and "SibSp" values into single feature "relative" containing total no of relatives of each passenger.
data['relative'] = data['Parch'] + data['SibSp']
On plotting barplot relatives vs Survived using Seaborn I have got following output
Query
I can't understand this barplot as Survived feature in this dataset has only two values 1 and 0 and relative also has 6 values ranging from 1 to 6 so how this barplot is generated and What information it is showing?