Short answer
A journal-ready Kaplan-Meier plot with a risk table has:
- Step curves for each group, from 100% at time 0.
- Censoring marks: small ticks where participants left follow-up without an event.
- Shaded 95% confidence bands, so readers see where the estimate is uncertain.
- A risk table under the x-axis, with the number at risk, and ideally also events and censored, at each time point.
- Clear axes: time with units, survival in % from 0 to 100, and the same time points in the table and on the axis.
This is the KMunicate format, proposed in BMJ Open in 2019.
The Kaplan-Meier plot is the standard way to show time-to-event results: survival, relapse, failure. It is also easy to misread. A curve that drops sharply at the end may rest on a handful of people, and without a risk table the reader cannot tell.
This guide shows the parts of a journal-ready Kaplan-Meier plot with a risk table, using a worked example, the KMunicate recommendations, and short code for R and Python.
The parts of a Kaplan-Meier plot

- The curve starts at 100% and steps down each time an event happens. Its height at any time is the estimated proportion still event-free.
- Censoring marks are the small vertical ticks. Each is a participant who left follow-up without the event, for example because the study ended. They leave the risk set but do not make the curve drop.
- The confidence band shows the 95% confidence interval. It widens to the right as fewer people remain.
- The median is where the curve crosses 50%: about 24 months for the drug and 11 months for placebo in the example.
- The risk table under the plot shows how many people the curve rests on at each time point.
The risk table: at risk, events and censored
A basic risk table gives one row per group: the number still at risk at each time point. KMunicate recommends an extended table with three rows per group: at risk, events so far, and censored so far. At every time point the three add up to the group's total, so a reader can see how much of the drop is events and how much is people leaving follow-up.
| Months | 0 | 6 | 12 | 18 | 24 | 30 | 36 |
|---|---|---|---|---|---|---|---|
| At risk | 120 | 98 | 71 | 53 | 38 | 25 | 11 |
| Events | 0 | 22 | 37 | 43 | 52 | 59 | 64 |
| Censored | 0 | 0 | 12 | 24 | 30 | 36 | 45 |
At 36 months only 11 people remain in the drug group, which is why the band is so wide at the right of the plot. KMunicate notes the format works best with 4 groups or fewer.

Making it journal-ready
- Axes: survival from 0 to 100% (or 0 to 1), time with its unit, and ticks at the same time points as the risk table.
- Stop where the data thin out. Many authors end the x-axis where few participants remain, rather than trailing off on one or two people. Say in the legend where and why.
- Colours: two clearly different colours that also work for colour-blind readers, such as blue and orange, with the same colours in the risk table labels. See our colour-blind safe palettes.
- Bands: light, transparent shading, so the curves stay readable where the bands overlap.
- Size: a plot with a three-row table per group usually needs a full column or more. Keep the table numbers above the journal's minimum text size at final size; see the journal figure requirements.
- Legend: say what the bands are (95% confidence intervals), what the ticks mean (censored observations), and the test or hazard ratio if you report one. Our figure legend guide shows the pattern.
- File: export as vector PDF or EPS, so the thin steps and small numbers stay sharp.
How to make one in R and Python
R, KMunicate format: the KMunicate package draws the extended risk table and bands for you.
library(survival)
library(KMunicate)
fit <- survfit(Surv(time, status) ~ group, data = df)
KMunicate(fit = fit, time_scale = seq(0, 36, by = 6))
R, survminer: a classic plot with a number-at-risk table.
library(survminer)
ggsurvplot(fit, conf.int = TRUE, risk.table = TRUE, censor = TRUE)
Python, lifelines: fit each group, plot it, then add the counts under the axis.
from lifelines import KaplanMeierFitter
from lifelines.plotting import add_at_risk_counts
km_drug = KaplanMeierFitter().fit(t_drug, e_drug, label="Drug")
km_plac = KaplanMeierFitter().fit(t_plac, e_plac, label="Placebo")
ax = km_drug.plot_survival_function(ci_show=True, show_censors=True)
km_plac.plot_survival_function(ax=ax, ci_show=True, show_censors=True)
add_at_risk_counts(km_drug, km_plac, ax=ax)
Then set the figure to the printed width and save as PDF. Our figure resolution guide explains why.
Common Kaplan-Meier plot mistakes
- No risk table, so readers cannot tell how many people the end of the curve rests on.
- Table time points that do not match the axis ticks.
- Smoothed or straight-line curves. Kaplan-Meier estimates are steps.
- Censoring marks missing, or so large they hide the curve.
- Red and green groups, which many colour-blind readers cannot tell apart.
- A y-axis that does not start at 0, which makes differences look bigger.
- No legend for the bands and ticks.
For the flow of participants in the same trial, see the CONSORT flow diagram guide.
Questions
What is a number at risk table?
A small table under a Kaplan-Meier plot showing how many participants are still being followed and event-free at each time point, for each group. It tells readers how much data each part of the curve rests on.
What do the tick marks on a Kaplan-Meier curve mean?
They are censored observations: participants who left follow-up without the event, for example because the study ended or they withdrew. They leave the risk set but do not make the curve drop.
What is the KMunicate format?
A way of presenting Kaplan-Meier plots proposed by Morris and colleagues in BMJ Open in 2019: an extended risk table with at risk, events and censored counts, and shaded confidence intervals around each curve.
Should a Kaplan-Meier plot show confidence intervals?
KMunicate recommends it, with light, transparent shading. The bands show that estimates later in follow-up, based on fewer people, are less certain.
How do I read the median survival from the plot?
Find where each curve crosses 50% and read the time below it. If a curve never falls to 50%, the median is not reached.
How do I add a risk table in R?
Use the KMunicate package for the extended table, or survminer's ggsurvplot with risk.table = TRUE for a number-at-risk table.
Sources
Sources (3)
- Proposals on Kaplan-Meier plots in medical research and a survey of stakeholder views: KMunicate
- KMunicate
- KMunicate R package
Changes: 15 November 2026, a cropped screenshot of the source page added, read that day. 2 November 2026, first published.
ShareEmail
Spotted an error, or a rule that has changed? Please write to support@gofigures.app and I will correct it and note the change on this page.