This tool turns a number matrix into a heatmap plot: each cell becomes a coloured square, with colour intensity showing magnitude, plus the matrix minimum, maximum, and mean. Matrices appear everywhere in research — confusion matrices, distance matrices, correlation tables, counts by group — and a wall of numbers hides patterns that colour reveals instantly: a bright row, a dark corner, a gradient across the grid. You paste rows of comma-separated numbers, and the tool draws the grid and reports the summary statistics. It is a visualization aid, not an analysis: the plot shows structure, and you interpret it.
How to use it
- Paste the matrix, one row per line, numbers separated by commas.
- Click Plot matrix.
- Read the heatmap: bright cells are large values, dark cells small.
- Check min, max, and mean below the plot.
- Look for rows, columns, or blocks that stand out.
Worked example
A confusion matrix for a classifier reads 90, 10 on the first row and 20, 80 on the second. As numbers, it takes a moment to see the story; as a heatmap, the diagonal blazes bright and the off-diagonal cells sit dark — the classifier is mostly right, with one direction of error (20 cases) worse than the other (10 cases). That asymmetry is the finding worth a sentence in the paper: the model confuses class B for class A twice as often as the reverse. Colour did not create the insight, but it delivered it in one glance instead of one minute of squinting.
Honest limits
Colour scales are relative to each matrix’s own min and max, so two plots with different scales cannot be compared by colour alone — always read the numbers. Very large matrices become unreadable squares, and the tool does not label rows or columns with names, so keep a copy of the labelled original beside the plot. Colour perception also varies: the green scale used here is not safe for all forms of colour blindness, so for publication figures, re-plot with a tested colourblind-safe palette and add the numeric values to cells.
Who it is for
This tool is for students visualizing their first matrices, researchers checking a table for patterns before formal analysis, and teachers showing why visualization precedes modelling. Use it for exploration and communication, and keep the numeric table as the authoritative record.
Going further
When a heatmap surprises you, interrogate the surprise before celebrating it: a bright block may reflect a scaling artifact (one variable measured in thousands next to one measured in units), a missing-value code (999s glowing as maxima), or a genuinely interesting structure. Check the raw numbers behind any striking cell, verify units and missing codes, and only then write the interpretation. Heatmaps are hypothesis generators, and their best use is to produce questions — “why is this block bright?” — that formal analysis then answers. A plot that only confirms what you already believed taught you nothing; a plot that puzzles you is doing its job. Before plotting, decide whether raw values or a transformed scale tell the honest story. When one variable runs in thousands and another in single digits, the large variable dominates the colour range and the small one looks flat even when its pattern matters; standardizing each column or taking logarithms before plotting restores the comparison, and the article should say which transform was used so readers can reproduce it. Keep the numeric table beside the plot in any report, because colour alone cannot carry exact values, and a reader who cannot read a cell value cannot check your claim. For matrices with named rows and columns, add the labels to the figure itself rather than describing them in the caption: a heatmap without labels is decoration, while a labelled heatmap is evidence a reader can audit row by row.
Related tools
Versión en español · Stata Log File Parser · All free online tools.
Embed this tool on your website — free
Copy the code below to add this working tool to your own page. A small credit link stays with it — that’s all we ask.

Pingback: Box Plot Comparison Builder — Free Canvas Box Plots