Kaplan–Meier curve from a CSV
Paste follow-up times and events to draw a Kaplan–Meier survival curve, with censoring marks and the median, and download it as SVG.
Your data does not go to our server. This tool runs in your browser; what you type or open never leaves your device.
This tool needs JavaScript, because it works in your browser and sends nothing. Turn JavaScript on to use it. How it works is explained below.
How it works
At every time with at least one event the survival probability is multiplied by (1 − events / participants still at risk). Censored participants leave the risk set without lowering the curve and are marked with a short vertical line.
The median is the first time at which the curve reaches 0.5 or less; if it never does, no median is shown.
Sources
- Kaplan EL, Meier P. Nonparametric estimation from incomplete observations. J Am Stat Assoc. 1958. doi:10.1080/01621459.1958.10501452
Questions
Is my data uploaded?
No. The CSV is read and drawn in your browser and never leaves your device; only an empty usage count is sent.
Does the tool compare the groups?
No. It draws the curves and gives the median of each group; a log-rank test or a Cox model needs statistical software.