Scatter Plot Maker
Paste two columns of numbers, add labels and groups if you like, pick a trendline and download a clean scatter chart with its equation and R².
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Enter the data
Paste cells, type x, y pairs or open a CSV or TSV file.
- 2Check the columns
Confirm which columns are the x axis, y axis, labels and groups.
- 3Add a trendline
Pick linear, polynomial, exponential, logarithmic or power, overall or per group.
- 4Compare models
Read the R² table to see which model fits best.
- 5Style the chart
Set titles, size, points, fonts, background, grid and log axes.
- 6Export
Download a PNG or SVG, or copy the SVG code.
Informazioni su questo strumento
A scatter plot is the first chart to draw when you want to know whether two measurements move together: study hours and exam marks, advertising spend and sales, temperature and ice-cream orders, dose and response in a lab practical. Spreadsheet programs can do it, but the trendline options hide behind menus and the result rarely looks right for a report. This maker is built only for scatter plots. Paste data straight from Excel or Google Sheets, type x, y pairs, or open a CSV or TSV file; the tool detects the header row, finds the two numeric columns for the axes, and spots a text column with repeating values as groups and another text column as point labels, all of which you can change. Points are coloured by group with a legend. Choose a trendline: linear, second or third-order polynomial, exponential, logarithmic or power, fitted by least squares (exponential, logarithmic and power through log transforms), drawn over the whole axis range with its equation and R² on the chart. Fit one line for all points or one per group to compare groups. A comparison table fits every model at once and lists the equation and R² of each, with a reminder that higher-order curves win on R² alone. Pearson's r is shown for the straight-line relationship. Styling covers title, axis titles, width and height, point size and opacity, font size, background, grid lines, log scales and axes starting at zero. Export a PNG at twice the size for sharp documents, a standalone SVG for print and design programs, or copy the SVG code into a web page.
Reading the trendline
The equation tells you the shape of the relationship: in y = 5.717x + 47.02 each extra unit of x adds about 5.7 to y on average, starting from 47 at x = 0. R² is the share of the variation in y that the line explains, from 0 (none) to 1 (all points on the line). A high R² does not prove that x causes y; a third factor can drive both, and a trend found in one range may not hold outside it.
Choosing a model
Use linear unless you have a reason not to. Exponential suits growth that doubles at a steady rate, such as bacteria counts or compound interest. Logarithmic suits quick early gains that level off, like learning curves. Power laws appear in physics and biology, such as metabolic rate against body mass. Polynomials bend to fit almost anything, so use them for interpolation within your data, not for forecasts. Exponential and power models need positive y values, and logarithmic and power models need positive x values; points that do not qualify are skipped and the table says how many.
Limits
This is a chart maker, not a full statistics package: it does not give confidence intervals, p-values, residual plots or weighted fits, and it does not handle error bars or bubble sizes. For hypothesis tests, use a statistics workbench. Very large data sets of many thousands of points work but make the SVG file large.
Esempio svolto
The sample data has 10 students with study hours from 1 to 8 and exam scores from 52 to 91, in classes A and B. Pearson's r is 0.996. The linear fit is y = 5.717x + 47.02 with R² = 0.9920; the second-order polynomial reaches 0.9945, the exponential y = 49.88·e^(0.08061x) 0.9760 and the logarithmic fit only 0.9275. With one line per group, class A gives y = 6.095x + 46.26 (R² 0.9965) and class B y = 5.457x + 47.71 (R² 0.9984). At 800 × 520 pixels the PNG downloads at 1600 × 1040.
In breve
- Categoria: Sviluppo e dati
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: NIST/SEMATECH e-Handbook of Statistical Methods: scatter plots and least-squares fitting
Domande frequenti
How do I add a trendline and R² to a scatter plot?
Choose a model in the Trendline menu; the line, its equation and R² appear on the chart at once. Tick One trendline per group to fit each coloured group separately. Untick Show equation and R² if you want only the line.
What format should my data be in?
One row per point with the x value and the y value, separated by a comma, tab or semicolon. A header row is optional. Extra columns can hold a label for each point and a group name; choose them in the column menus. Copying cells from a spreadsheet gives the right format automatically.
Which trendline should I use?
Start with linear. If the points curve upward faster and faster, try exponential; if they rise quickly and then flatten, try logarithmic; if both axes span several orders of magnitude, try power with log scales. Compare the R² values in the table, but prefer the simplest model that fits the science of your data.
What is the difference between r and R²?
Pearson's r measures the strength and direction of a straight-line relationship, from −1 to +1. R² measures how much variation a chosen trendline explains, from 0 to 1. For a linear trendline R² equals r squared; for curved models they differ.
Can I put the chart in Word, PowerPoint or a website?
Download the PNG for Word, PowerPoint and Google Docs; it is drawn at twice the set size so it stays sharp. Use the SVG for print, Illustrator, Inkscape or Figma. For websites, paste the copied SVG code into your HTML; it scales to any width.
Is my data stored or uploaded?
Your data never leaves the browser. The current data and chart settings are saved in this browser so you can come back to them, and every change can be undone with Ctrl+Z or the Undo button.
