Data Plotter
FoundationExplore your own data the point-and-click way. No code, no sign-in, and no upload. Level: Foundation.
Explore your own data the point-and-click way: paste a CSV file, pick an outcome and a predictor, and get a publication-ready plot with a fitted line, a confidence band and summary statistics. No code, no sign-in, and no upload. Everything runs in your browser, and your data never leaves it.
1. Data
No data loaded yet. Load the sample dataset to start.
2. Variables
3. Plot options
Your data stays in this browser. Nothing is uploaded, stored or sent anywhere.
Load data to see a preview here.
What the plot shows
A scatter plot puts one number on each axis so you can see whether two numbers move together. The fitted line is the least-squares line: the straight line that sits closest to the points overall. The shaded band around it is the 95% confidence band for that line. It shows where the true mean line probably sits, not where new points will fall. A density plot smooths a histogram into a curve so you can see the shape of one set of numbers. A violin plot does the same thing for each group, mirrored, with a box inside. A box plot shows the median, the middle half of the numbers (the box), and the range of the rest.
Pearson correlation r
r runs from -1 to +1. Near +1 means the numbers rise together, near -1 means one falls as the other rises, near 0 means no straight-line link. r only measures straight-line links, and a strong r never proves that one thing causes the other.
Least-squares line
The slope b is the change in y for a one-unit change in x. The intercept a is the fitted y when x is zero, which is often outside the data and should not be read as a real value.
Density curves
Each curve is a kernel density estimate with a Gaussian kernel. The width of the smoothing (the bandwidth) follows Silverman's rule of thumb: 0.9 times the smaller of the standard deviation and the interquartile range divided by 1.34, times n to the power -0.2. All groups in one plot share the same bandwidth so their shapes stay comparable.
Assumptions and limits
The fitted line and its confidence band assume the link is roughly straight, the points are independent, and the scatter around the line is similar along its length. With fewer than three points no line is fitted. The confidence band uses the t distribution; with very small samples it is wide, which is honest. Missing values are dropped and counted, never filled in. Columns that are not numbers are marked "Not numeric" and cannot be plotted as an outcome or predictor, because guessing a number for text would be wrong.
Worked example: logP against pIC50
The sample dataset holds 30 compounds in three scaffold groups. Take logP as the predictor (x) and pIC50 as the outcome (y). The numbers below are calculated live from that dataset, so they always match the plot.
- Count the pairs. All 30 rows have both values, so n = 30.
- Find the means. Mean logP is - and mean pIC50 is -.
- Find r. Pearson r is -, a strong positive straight-line link: compounds with higher logP tend to have higher pIC50 in this small teaching set.
- Fit the line. The slope is - pIC50 units per logP unit, and the intercept is -. So the fitted line is pIC50 = -.
- Read it back. A compound with logP 3.0 sits at a fitted pIC50 of -. That is the line's value, not a promise about a real compound.
1. The scatter plot reports r = 0.9. What does that tell you, and what does it not tell you?
It tells you there is a strong positive straight-line link: as x rises, y tends to rise too. It does not tell you that x causes y, and it does not tell you the link is straight all the way: a curved link can still give a high r if most of the range is roughly straight.
2. What happens to the fitted line if you delete the point with the highest logP?
Points at the far end of the x range pull the line more than points in the middle, so the slope and intercept usually shift. Try it: remove that row from the CSV, reload, and watch the summary. If the slope changes a lot, say so when you report the result.
3. Why does the density curve for one scaffold look wider than the others?
A wider curve means that group's values are more spread out: its standard deviation is larger. Check the summary table, which lists the standard deviation per group, to confirm rather than guessing from the shape alone.
4. What does a violin plot show that a box plot hides?
Shape. A violin plot shows where the values pile up, so you can see two humps (two subgroups) or a long tail. A box plot only shows the median, the middle half and the range, so two very different shapes can give the same box.
5. The confidence band is narrow in the middle and wide at the ends. Why?
The line is best pinned down near the middle of the data, where most points sit. Near the ends there are fewer points to anchor it, so the uncertainty grows. That is also why you should not read the line far outside the data range.
- Altman, D. G. (1991). Practical Statistics for Medical Research. Chapman & Hall. Chapters 8 and 11 (correlation, regression and confidence intervals).
- Field, A. (2018). Discovering Statistics Using IBM SPSS Statistics (5th ed.). SAGE. Chapter 7 (correlation) and Chapter 8 (regression).
- Cleveland, W. S. (1993). Visualizing Data. Hobart Press. Dot plots, scatter plots and the case for showing the data.
- Silverman, B. W. (1986). Density Estimation for Statistics and Data Analysis. Chapman & Hall. Kernel density estimation and the bandwidth rule of thumb.
- The jamovi project (2024). jamovi (Version 2.5) [Computer software]. jamovi.org. The point-and-click data explorer this tool takes its design from.
Paste CSV data or upload a CSV file, pick an outcome and a predictor, and get a publication-ready plot with a fitted line, a 95 percent confidence band and summary statistics. Scatter, density, violin, box and faceted plots are built in. Everything runs in your browser and your data never leaves it.
How to use
- Add data. Paste CSV into the “Paste CSV data” box (first row is the header) or press “Or upload a CSV file”. Press “Load sample dataset” to start with the built-in 30-compound example.
- Pick your variables. Choose the Outcome (y axis), the number you want to explain or predict, and the Predictor (x axis). Optionally pick a Group / panel column to split the plot by group.
- Choose a plot type. Pick Scatter, Density, Violin, Box or Faceted under “Plot options”.
- Set the extras. Tick “Show 95% confidence band” for scatter and faceted plots, add ghost lines at the mean values, or lower point transparency so overlapping points are easier to see.
- Press Update plot. Read the summary statistics, the first 15 rows of your data, and the fitted line and correlation in the summary table.
- Export. Download the plot as a PNG, the summary as a CSV, or copy the summary as text with the Plot Data, PNG, CSV and Copy summary buttons.
Formulas and method
Pearson correlation r:
r = sum of (x minus x-bar)(y minus y-bar) divided by the square root of [sum of (x minus x-bar) squared times sum of (y minus y-bar) squared]
r runs from -1 to +1. Near +1 means the numbers rise together, near -1 means one falls as the other rises, near 0 means no straight-line link. r only measures straight-line links, and a strong r never proves that one thing causes the other.
Least-squares line:
y-hat = a + b x, where b = sum of (x minus x-bar)(y minus y-bar) divided by sum of (x minus x-bar) squared, and a = y-bar minus b times x-bar
The slope b is the change in y for a one-unit change in x. The intercept a is the fitted y when x is zero, which is often outside the data and should not be read as a real value.
Density curves are kernel density estimates with a Gaussian kernel. The smoothing width (bandwidth) follows Silverman’s rule of thumb: 0.9 times the smaller of the standard deviation and the interquartile range divided by 1.34, times n to the power -0.2. All groups in one plot share the same bandwidth so their shapes stay comparable.
Worked example: logP against pIC50
The sample dataset holds 30 compounds in three scaffold groups (Indole, Quinoline, Piperidine). Take logP as the predictor (x) and pIC50 as the outcome (y). The tool’s worked example reports these values, recomputed here in Python from the same 30 rows:
- n = 30
- Mean logP = 2.51, mean pIC50 = 6.34
- Pearson r = 0.997, so r squared = 0.994
- Slope b = 0.92, intercept a = 4.04
- Fitted line: pIC50 = 4.04 + 0.92 times logP
- Prediction at logP = 3.0: pIC50 = 4.04 + 0.92 times 3.0 = 6.79
A slope of 0.92 means each one-unit rise in logP is linked to a 0.92 rise in pIC50 in this sample. Note this is the tool’s built-in teaching dataset, so the near-perfect r of 0.997 is not what real screening data usually look like. The 95 percent confidence band around the line shows where the true mean line probably sits, not where new points will fall.
The fitted line and its confidence band assume the link is roughly straight, the points are independent, and the scatter around the line is similar along its length. With fewer than three points no line is fitted. Missing values are dropped and counted, never filled in. Columns that are not numbers are marked “Not numeric” and cannot be plotted as an outcome or predictor.
Common mistakes
- Reading the intercept as a real value. When x = 0 sits outside your data, the intercept is just where the line crosses the axis, not a measurement.
- Confusing the confidence band with a prediction band. The shaded band is for the mean line, not for where the next point will land.
- Saying a strong r proves one thing causes the other. It does not. See the Correlation vs Causation sandbox for why.
- Plotting a text column as numbers. The tool refuses this on purpose, because guessing a number for text would be wrong.
Frequently asked questions
What file format does the Data Plotter take?
CSV, comma-separated values, pasted in or uploaded as a file. The first row must be the header. Values in quotes may contain commas.
Does my data leave my computer?
No. The page states your data stays in the browser and nothing is uploaded, stored or sent anywhere. The tool’s JavaScript was checked and makes no network requests.
What is the difference between a violin plot and a box plot?
A violin plot shows the full shape of the data, mirrored, with a box inside. A box plot shows only the median, the middle half of the numbers (the box), and the range of the rest. Use the violin when the shape matters, the box when you want a compact summary.
What does the 95 percent confidence band mean?
It shows where the true mean line probably sits. It is not a band for individual new points, which scatter much more widely than the band.
Why is there no fitted line on my plot?
Either you have fewer than three points, or your predictor does not vary. A line needs at least three points and some spread in x.
Can I use the plot in a report or slides?
Yes. Download it as a PNG, or copy the summary as text. The tool calls the output publication-ready.
Related tools and guides
- Correlation vs Causation and Sample Size Sandbox: see why a strong correlation in a small sample can be pure chance.
- PK/PD Graph Builder: plot concentration-time and effect curves the same point-and-click way.
- Graph Digitizer: pull numbers out of a published graph so you can plot them here.
- Planned guide: “How to read a scatter plot and its fitted line” (no live guide yet)
- Planned guide: “Box plots, violin plots and density curves: which one to use” (no live guide yet)
Sources
- Freedman, Pisani and Purves, Statistics (4th edition), W. W. Norton. Chapters on correlation and regression.
- OpenIntro Statistics (4th edition), Diez, Barr and Cetinkaya-Rundel. Free textbook, chapters on least-squares regression.
- Silverman, B. W., Density Estimation for Statistics and Data Analysis, Chapman and Hall, 1986 (bandwidth rule of thumb).
- The tool’s own “What the plot shows”, “Worked example” and “Assumptions and limits” sections on the page.
Last reviewed: 17 November 2026