text_plain_output_1.png image_output_1.png
import pandas as pd

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

data.count()

data.plot(kind='scatter', x='Survived', y='Age', title='Scatter Plot of Survivors Separated by Age')