114 charts fit this data

Add data

Chart type

All 206 charts

ROC curve maker

Judge how well a classifier separates two outcomes at every threshold.

Needs a number column for Score or false positive rate and a number column for Label (0 or 1) or true positive rate, plus a text column for Model if you have it.

Need a dashboard or a data story?

We design and build them with charts drawn for your brand, not a library's defaults.

  • Product dashboards Analytics and admin views your customers open every day.
  • Reports and data stories Investor updates, annual reports and research that read in one pass.
  • Data-heavy websites Interactive charts, maps and calculators built into your site.

How to make a rOC curve

  1. Paste your data

    Paste cells from a spreadsheet or upload a CSV with a number column for Score or false positive rate and a number column for Label (0 or 1) or true positive rate, plus a text column for Model if you have it.

  2. Check the columns

    The rOC curve picks its columns for you. Change any of them under Data.

  3. Style it and download

    Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.

What is a rOC curve?

A ROC curve shows how a binary classifier trades true positives against false positives as its decision threshold moves from strict to lenient. The area under the curve (AUC) sums that up in one number between 0.5 and 1.

How to read it

Each point is one threshold: its height is the true positive rate (recall) and its distance from the left is the false positive rate. A curve that bows toward the top left corner separates the classes well; one that hugs the dashed diagonal is no better than chance. An AUC of 0.8 means a randomly chosen positive gets a higher score than a randomly chosen negative 80% of the time.

When to use it

Judge how well a classifier separates two outcomes at every threshold. It is one of the correlation charts, which show how two or more measures move together.

When positives are rare, say under 5% of cases, a ROC curve can look strong while most flagged cases are false alarms; a precision-recall curve shows that better. To see the errors at one chosen threshold, use a Confusion matrix.

Tips for a better rOC curve

  • Give it raw scores and true 0/1 labels where you can, so every threshold is computed rather than a handful you picked in advance.
  • Compare models on the same test set by adding a model column, since AUC values from different data are not comparable.
  • Use held-out data, not the training set, or the curve will look better than the model really is.

Data you need

One row per item with a number column for Score or false positive rate and a number column for Label (0 or 1) or true positive rate, plus a text column for Model if you have it. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.

ModelScoreChurned
Gradient boosting0.2210
Gradient boosting0.8931
Gradient boosting0.2090
Gradient boosting0.2690
Gradient boosting0.2720
Gradient boosting0.8751
Gradient boosting0.5500
Gradient boosting0.1060
Download the sample CSV

Questions, answered

What is a rOC curve?
A ROC curve shows how a binary classifier trades true positives against false positives as its decision threshold moves from strict to lenient. The area under the curve (AUC) sums that up in one number between 0.5 and 1.
How do you read a rOC curve?
Each point is one threshold: its height is the true positive rate (recall) and its distance from the left is the false positive rate. A curve that bows toward the top left corner separates the classes well; one that hugs the dashed diagonal is no better than chance. An AUC of 0.8 means a randomly chosen positive gets a higher score than a randomly chosen negative 80% of the time.
How do I make a rOC curve?
Paste your data into the chart maker with a number column for Score or false positive rate and a number column for Label (0 or 1) or true positive rate, plus a text column for Model if you have it. The rOC curve draws as you type. Then pick a look and a size and download it as SVG or PNG.
When should I use a rOC curve?
Judge how well a classifier separates two outcomes at every threshold. It belongs to the correlation family of charts, which show how two or more measures move together. When positives are rare, say under 5% of cases, a ROC curve can look strong while most flagged cases are false alarms; a precision-recall curve shows that better. To see the errors at one chosen threshold, use a Confusion matrix.
Is this rOC curve maker free?
Yes. It is free with no sign-up, your data stays in your browser, and you can download the rOC curve as SVG or PNG.