MockDataLab
M6Effect Size, Causal & SurvivalClinical Medicine & Epidemiology

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.

Verified Open-Access ReferenceBMJ Open (2019) · CC BY 4.0

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

DOI: 10.1136/bmjopen-2019-030215PMCID: PMC6773317Target: Figure 5 (combining Figure 2A and Figure 2E)
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

M6Effect Size, Causal & Survival·Clinical Medicine & Epidemiology
✓ Invariant verified: At risk + Censored + Events = 120 per arm
0.000.250.500.751.00Survival probability012243648Follow-up time (months)Treatment (median 38.1 mo)Control (median 25.9 mo)Log-rank p = 0.004 (χ² = 8.28)Treatment armAt risk1209575530Censored08111955Events017344865Control armAt risk1208962410Censored0451033Events027536987SYNTHETIC DATA - generated by MockDataLab (mockdatalab.com) · Seed 42 · Not patient 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).

  1. 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.

  2. 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.

  3. 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.

  4. L4

    Statistical summary callout

    Log-rank p-value and per-arm median survival placed in an open corner without colliding with the curves.

  5. 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.
Explore more synthetic datasets on Datasets or browse all Figure Anatomy Guides.