Heat Map Generator

Turn a numeric matrix into a labeled, color-coded chart you can download as PNG.

Chart Settings

Data Matrix Heat Map

How to create a heatmap

  1. Enter a rectangular JSON matrix of numbers. Each inner array is one row, and every row must have the same number of values. Select Load Sample Data to see a working example.
  2. Optionally name the rows and columns with comma-separated labels, enter a chart title, and choose a color scale. Select Generate Chart to update the preview.
  3. Hover over a cell to read its row, column, and value. When the result looks right, select Download PNG to save the image.

What does a heatmap show?

A heatmap uses color to encode numeric values in a two-dimensional grid. A row might represent a day, a team, or a location; a column might represent a time period or another category. The color scale lets you spot high and low values and compare patterns without reading every number in a table. For example, a four-by-four matrix of activity counts can reveal which day and time combination has the most activity. The hover label still shows the exact value, so color is not the only way to inspect a cell.

Use a heatmap when both row and column categories matter. For a single series of numeric observations, a histogram is usually a better view of the distribution. A box plot is useful when comparing several groups and their spread. Choose labels that describe the underlying measurements and remember that changing the color scale changes the appearance, not the input values.

Before sharing a heatmap, check whether a few extreme values compress the colors of the remaining cells. If that happens, examine the exact numbers on hover and explain the scale to your audience. Keep rows and columns in a meaningful order so related values are easy to compare.

Input limits and privacy

The editor accepts a JSON array of arrays such as [[1, 2], [3, 4]], with up to 30 rows and 30 columns. It does not currently upload CSV or Excel files or export SVG. Your matrix is processed in this browser to draw the chart; avoid entering sensitive data into a shared device.

Frequently asked questions

Can I paste a CSV file directly?

Not yet. Convert the values to a rectangular JSON matrix first; file upload is not available on this page.

What if rows have different lengths?

The tool reports an error. Add or remove values until every row contains the same number of columns.

Can I download an SVG or PDF?

No. This page currently exports PNG only.