text_plain_output_1.png
import pandas as pd

data = pd.read_csv('/kaggle/input/titanicdataset-traincsv/train.csv')
data

data.count()

alpha_color = 0.5
data['Survived'].value_counts().plot(kind='bar', title='Number of Survivors')