Shares of a total / Spine plot
Spine plot
Use a spine plot to show two-way shares: each group is one 100% bar, as wide as the group is big, split by the outcome.
Pro · not released yet · Shares of a total · Adapts to mobile
Six in ten first-class passengers survived the Titanic; one in four in third class
People aboard RMS Titanic by class and whether they survived, April 1912
Each column is one class, as wide as its number aboard; the coloured part is the share who survived.
On phones: adapts to mobile with its own phone layout (Draws its own phone layout below 520px). Video formats: 16:9, 9:16, best 9:16.
Motion: The survivors' share rises from the bottom class by class; switching groups slides the columns to their new widths and heights.
Sound: A chime on the group buttons; a pop on hover. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.
Source: Titanic: survival of passengers on the Titanic (R datasets), Rdatasets (British Board of Trade inquiry report, 1912, via Dawson 1995) (Public domain (1912 inquiry figures)), retrieved 2026-12-01. The 1912 Board of Trade counts; later research revises some numbers slightly.
Data
| Class | Sex | Survived | Died |
|---|---|---|---|
| 1st | Female | 141 | 4 |
| 1st | Male | 62 | 118 |
| 2nd | Female | 93 | 13 |
| 2nd | Male | 25 | 154 |
| 3rd | Female | 90 | 106 |
| 3rd | Male | 88 | 422 |
| Crew | Female | 20 | 3 |
| Crew | Male | 192 | 670 |