Dashboard of Exploratory Data Analysis of Titanic Dataset using Streamlit
Used titanic dataset from Kaggle
The csv file contains data for 887 of the real Titanic passengers. Each row represents one person. The columns describe different attributes about the person including whether they survived (SS), their age (AA), their passenger-class (CC), their sex (GG) and the fare they paid (XX) Libraries used
- Pandas
- Numpy
- Plotly(plotly.figure_factory, plotly.offline, plotly.graph_objs, plotly.express)
- Streamlit
I have explained all the Charts and representation that I used in the dashboard in the report. The Screenshots of the report are as follows: Calculated observations observations:-
Number of Fist class Passenger Survived : 120 Number of Second class Passenger Survived : 83 Number of class Passenger Survived : 85
Number of Fist class Passenger Deaths: 64 Number of Second class Passenger Deaths: 90 Number of Third class Passenger Deaths: 270
Number of Fist class Passenger Deaths: 34 Number of Second class Passenger Deaths: 10 Number of Third class Passenger Deaths:20
Passenger belonging to Embarked % (Pie Chart) Shows that the highest % of the passengers belong to embarked class Q That is 77.8 ,next 18.39 from the embarked class S and leaving 3.93 from class C.
Survival Histogram based on Pclass Number of Fist class Passenger Survived : 120 Number of Second class Passenger Survived : 83 Number of class Passenger Survived : 85
Number of Fist class Passenger Deaths: 64 Number of Second class Passenger Deaths: 90 Number of Third class Passenger Deaths: 270
From this we can conclude that the people who travel in the first class Have the maximum survival rate than class second and third , where as people who travel in the third class have the maximum death rate.
Box plot Based on Pclass vs age This box plot shows the presence of outliers in case of class 2 and 3 in term of ageWhere as there no presence of outlier in case of class 1.
Line plot for Fare_Tax,Luggage Charges,Food Charges Shows linear relationship between the Fare_Tax,Luggage Charges,Food Charges.
Survival Histogram Based on Sex This clearly shows that death rate of male is more than female. Survival rate of female is more than male.
Survival Rate %(Pie Chart) survival rate=59.6 Death rate=40.49