Explore the Titanic passenger dataset to uncover survival patterns, demographic differences, class-based outcomes, and the relationship between passenger characteristics and survival.
The Titanic dataset provides passenger-level information about demographics, ticket class, fares, embarkation ports, and survival. Your objective is to transform this raw data into meaningful insights using Tableau.
Understand the dataset, identify missing values, examine field types, and prepare the data for analysis.
Measure passenger distribution and survival rates across gender, passenger class, and other dimensions.
Create charts and a geographic map to communicate patterns, comparisons, and important findings.
Download the dataset, review its structure, and understand what each column represents before starting the analysis.
Use this reference to understand the available fields.
| Column | Description | Data Type |
|---|---|---|
| PassengerId | Unique passenger identifier | Integer |
| Survived | Survival indicator: 0 = No, 1 = Yes | Integer |
| Pclass | Ticket class: 1 = First, 2 = Second, 3 = Third | Integer |
| Name | Passenger's full name | String |
| Sex | Passenger gender as recorded in the dataset | String |
| Age | Passenger age in years | Decimal |
| SibSp | Number of siblings or spouses aboard | Integer |
| Parch | Number of parents or children aboard | Integer |
| Ticket | Ticket identification number | String |
| Fare | Passenger fare paid | Decimal |
| Cabin | Cabin identification | String |
| Embarked | Port of embarkation: C, Q, or S | String |
Search the sample records to explore the dataset.
| Passenger ID | Name | Sex | Age | Class | Fare | Survived | Embarked |
|---|---|---|---|---|---|---|---|
| 1 | Braund, Mr. Owen Harris | male | 22 | 3 | 7.25 | No | S |
| 2 | Cumings, Mrs. John Bradley | female | 38 | 1 | 71.2833 | Yes | C |
| 3 | Heikkinen, Miss. Laina | female | 26 | 3 | 7.925 | Yes | S |
| 4 | Futrelle, Mrs. Jacques Heath | female | 35 | 1 | 53.1 | Yes | S |
| 5 | Allen, Mr. William Henry | male | 35 | 3 | 8.05 | No | S |
| 6 | Moran, Mr. James | male | Missing | 3 | 8.4583 | No | Q |
| 7 | McCarthy, Mr. Timothy J | male | 54 | 1 | 51.8625 | No | S |
| 8 | Palsson, Master. Gosta | male | 2 | 3 | 21.075 | No | S |
Create the following calculated measures and use them to understand the passenger population and survival outcomes.
Determine the total number of passengers in the Titanic dataset to understand the overall size of the population.
COUNT(PassengerId)Calculate the percentage of passengers who survived relative to the total number of passengers.
AVG(Survived) × 100Identify the number of male and female passengers to understand the gender distribution.
COUNT(PassengerId) SexCalculate and compare male and female survival rates to identify gender-based differences.
AVG(Survived) SexDetermine the survival rate for each ticket class and assess whether passenger class is associated with survival.
AVG(Survived) PclassBuild the following visualizations in Tableau. Select appropriate dimensions, measures, sorting, labels, and tooltips to make each chart easy to interpret.
Show the distribution of passengers by embarkation port to understand where passengers boarded the Titanic.
Embarked COUNT(PassengerId)Display the ten highest individual passenger fares to highlight differences in ticket prices.
Name FareCompare survival rates of passengers with cabin information against passengers without cabin information.
Cabin AVG(Survived)Map the survival rates for passengers from different embarkation ports to compare outcomes geographically.
Embarked AVG(Survived)Highlight the ten highest fares among passengers who survived the disaster.
Survived = 1 Name FareThese are the three ports you will need to locate when creating your Tableau map. The survival percentages shown are calculated from the supplied dataset.
Once you complete the required KPIs and charts, attempt these additional questions to deepen your analysis.
Investigate whether age influenced survival. Create age groups and compare survival rates across them. Handle missing ages separately.
Create a family-size measure using SibSp and Parch. Investigate whether passengers travelling alone had different survival outcomes from those travelling with family.
Examine the relationship between ticket fare and survival. Use a scatter plot or fare bands to identify possible patterns.
Bring your KPIs and visualizations together in a single, interactive Tableau dashboard.
Use the following structure as a starting point. You may improve the layout as long as all required information remains clear.
Add interactive filters to help viewers explore different passenger groups.
Mark each task as you complete it. Your progress is saved in this browser.
Your work can be assessed using the following suggested rubric.
Post your screenshot on LinkedIn with the #TableauwithedSlash and tag @edslash and @tableau.
© 2021 edSlash. All Rights Reserved.