Titanic: class, sex and survival
The 1912 Titanic disaster is recorded here as aggregated class, sex and survival counts. Ribbons show contingency-table counts rather than the paths of individual people.
Survival differed across class and sex
3rd1st2ndCrew
This chart cannot be displayed here: it needs JavaScript and WebGL.
8 links with a value of zero are not drawn · ribbons add up the rows that share two neighbouring categories and the first category
The same chart in each style
Source
---
title: "Titanic: class, sex and survival"
styles: [brutalist]
---
```chart
{
"axes": {
"y": {
"label": "People"
}
},
"data": {
"csv": "data.csv"
},
"encoding": {
"dimensions": [
"class",
"sex",
"survived"
],
"y": "people"
},
"title": "Survival differed across class and sex",
"type": "alluvial"
}
```
Data and credits
Complete report and provenance · Rich Markdown source · CSV observations.