KMunicate Kaplan–Meier Survival Curve (BMJ Open 2019)
Dissects the BMJ Open KMunicate consensus layout (Morris et al., 2019, Figure 5): pairing step-post Kaplan–Meier curves and 95% confidence bands with a 3-row per-arm risk table (At risk, Censored, Events) so attrition is never hidden.
Proposals on Kaplan-Meier plots in medical research and a survey of stakeholder views: KMunicate.
Morris TP, Jarvis CI, Cragg W, Phillips PPJ, Choodari-Oskooei B, Sydes MR
Europe PMC caption: “The two most popular elements combined: CIs and extended at-risk table.”
Interactive synthetic specimen
Powered by MockDataLab's unified online figure widget · 100% browser-side synthetic data
Scientific question
Compare time-to-event survival between two clinical trial arms while showing both statistical uncertainty and where every participant went over follow-up.
Why this layout beats the default
Classic Kaplan–Meier plots often omit confidence bands and print only a single 'Number at risk' row. Without separate Censored and Events rows, a reader cannot tell whether a shrinking risk set reflects deaths/events or administrative censoring.
Visual layer stack (L1–L5)
Two vertically aligned blocks sharing exact X-axis ticks: the main survival canvas (~70% height) directly above a per-arm 3-row extended risk table (~30% height).
- L1
Reference grid & median guide
Subtle horizontal gridlines at 0.25 intervals plus an optional 0.50 dashed reference line so median survival can be read directly off the time axis.
- L2
95% confidence interval ribbons
Pointwise Greenwood 95% confidence intervals rendered as translucent step-post bands, making late-follow-up widening immediately visible as sample size drops.
- L3
Step-post survival curves (color + line-style)
Primary curves drawn with step-post geometry and encoded by both colorblind-safe hue and solid vs. dashed stroke so the figure remains legible in monochrome print.
- L4
Statistical summary callout
Log-rank p-value and per-arm median survival placed in an open corner without colliding with the curves.
- L5
Extended 3-row risk table
Directly aligned to every major X-axis tick, reporting At risk, Censored, and Events per arm so cohort accounting sums transparently to N at every time point.
X-axis convention
Follow-up time in months on a linear scale with regular ticks (e.g., 0, 12, 24, 36, 48).
Y-axis convention
Survival probability strictly from 0.0 to 1.0 (never truncated).
Data schema & invariants
- subject_id
- Sequential synthetic subject identifier (1 .. 2N).
- arm
- Treatment arm indicator: 0 = Control, 1 = Treatment.
- time_months
- Observed follow-up duration in months until event or censoring.
- event_observed
- Endpoint indicator: 1 = event occurred, 0 = right-censored.
Mathematical invariants
- At every risk-table tick t: at_risk(t) + cum_censored(t) + cum_events(t) = N_arm.
- Survival probability S(t) is monotonically non-increasing and bounded in [0, 1].
Common pitfalls to avoid
- Truncating the Y-axis above 0 exaggerates visual separation between arms.
- Connecting survival steps with diagonal lines misrepresents the step-function estimator.
- Showing only 'At risk' without 'Censored' and 'Events' hides informative dropout.
- Relying on red/green hue alone breaks readability for color-vision deficiency and grayscale print.