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

Six in ten first-class passengers survived the Titanic; one in four in third class. Source: Rdatasets (British Board of Trade inquiry report, 1912, via Dawson 1995), Titanic: survival of passengers on the Titanic (R datasets)
ClassSexSurvivedDied
1stFemale1414
1stMale62118
2ndFemale9313
2ndMale25154
3rdFemale90106
3rdMale88422
CrewFemale203
CrewMale192670