Tools › Kaplan–Meier survival plot
Kaplan–Meier survival curves and the log-rank test, free
BioDiorama’s Graph Studio draws Kaplan–Meier survival curves from a time column and an event column (such as futime and fustat, or OS.time and OS). It follows R’s survival package, so values can be checked against survfit and survdiff: Greenwood standard errors, log-type confidence limits, the median survival with its confidence interval, censoring tick marks, the number at risk, and the k-group log-rank test. The data stays on your computer, and the graph exports as PDF, SVG, EPS, TIFF, PNG or PowerPoint, with the source data as .xlsx.
How to do it
- Open Graph Studio and load a table with a follow-up time, an event (1) or censored (0) column, and a group column.
- Check the columns it recognises; choose Kaplan–Meier survival.
- Show confidence bands, censoring ticks and the number-at-risk table as you need.
- Read the median survival per group and the log-rank P value.
- Export the figure for the paper.
What it does
- One step per distinct event time; Greenwood variance; log-type confidence limits clipped to [0, 1] (R’s default).
- Median survival and its confidence interval by R’s quantile rule.
- Censoring tick marks at each censored time.
- Number at risk at chosen times.
- Log-rank test for two or more groups (the Mantel–Haenszel test, as survdiff with rho = 0).
What it does not do
- No Cox proportional-hazards regression or adjusted hazard ratios; use R (survival), Python (lifelines) or Prism for those.
Questions people ask
How do I make a Kaplan–Meier plot online?
Open BioDiorama Graph Studio, load a table with time, event and group columns, and choose Kaplan–Meier survival. It draws the curves with censoring ticks and gives the median survival and the log-rank test.
Are the numbers the same as R?
They follow R’s survival package conventions (Greenwood variance, conf.type = "log", survdiff log-rank), so they can be checked against summary(survfit(...)) and survdiff(...).
How should censored data be coded?
1 for an event (for example death) and 0 for censored (lost to follow-up or alive at the end). Rows with other event codes or missing times are dropped.
Is my patient data uploaded?
No. Graph Studio runs in the browser; files stay on your computer unless you choose to share the project.
See also
Other tools
Free, in the browser, no account. Please credit “Figure created with BioDiorama (biodiorama.com)” in your legend. Other tools are named only so that people comparing them can find an honest answer; BioDiorama is not affiliated with them.