Heatmap Generator: Turn a Table into a Color Grid

A free heatmap generator for data tables: paste or upload your numbers and get a color grid, with no signup needed.

Heatmap titled "Website visits by time of day". A grid of visit counts with Monday to Sunday down the side and 8am to 8pm across the top. Darker cells mark the busy hours: around midday on weekdays, and a later, lighter peak around 4pm on Saturday and Sunday. Mon Tue Wed Thu Fri Sat Sun 8am 10am 12pm 2pm 4pm 6pm 8pm 153 202 234 226 157 145 150 181 230 218 210 185 129 134 165 214 246 194 169 157 162 193 198 230 222 153 141 146 177 226 214 206 181 169 130 70 89 125 130 162 154 129 98 73 109 158 190 138 113 70 246 Website visits by time of day chartjuice.com

How to make a heatmap in 3 steps

  1. The Data tab in Chartjuice, with Upload file and Paste data beside a heatmap
    1

    Add your data

    Click Upload file to load a CSV, TSV, TXT, XLSX, XLS or ODS file, or click Paste data, paste from Excel or Google Sheets, and click Use this data. You can also type straight into the table under the chart.

  2. The Style tab in Chartjuice, open beside a heatmap
    2

    Pick the colors

    Open the Style tab. Under Heatmap options, choose a Color scale, set the Low and High colors, and turn on Show numbers in cells if you want the values printed in the grid.

  3. The Download menu in Chartjuice: PNG at 1x, 2x or 4x, SVG and Copy image
    3

    Download it

    Click Download and choose PNG at 1x, 2x or 4x (with an optional transparent background) or SVG. Copy image puts it on your clipboard.

What this heatmap generator makes (and what it doesn't)

A data heatmap is a grid. One category runs down the side, another runs across the top, and each cell is colored by a number. Visits by weekday and hour, or scores by grade and subject, both fit.

This tool makes that kind of chart, from a table you give it. It does not make website click-tracking or scroll heatmaps, which need a script running on a live site. It also does not draw geographic or GPS heat maps over a map.

Formatting your data: matrix or long table

The heatmap generator reads your table in one of two shapes.

Matrix format

A matrix looks like the spreadsheet grid you already have. Row labels go down the first column, column labels go across the top, and every cell holds a number.

For example, a header row of Region, Q1, Q2, Q3, Q4, then North, 42, 51, 58, 64, then South, 38, 40, 47, 55.

When your table has one label column followed by two or more number columns, Chartjuice treats it as a matrix and fills in Chart columns for you. The first column becomes the rows, and the headers become the columns.

Long format: x, y, value

A long table has one row per cell and three columns: the column label, the row label and the number.

For example, Grade 6, Math, 71, then Grade 6, Reading, 76, then Grade 7, Math, 75. This is the shape you get from a database export or a survey tool. In Chart columns, set Columns to Grade, Rows to Subject and Value to Average score.

Which one to use, and fixing messy data

Use a matrix if you are copying a finished grid. Use a long table if your data is a list of records. The limit is 5,000 rows by 50 columns per chart.

A few things trip people up:

  • Blank cells. A combination with no number is left empty rather than colored as zero. If zero is the real answer, type 0.
  • Repeated pairs. If the same column and row appear twice in a long table, the values are added together and a notice tells you.
  • Numbers that won't color. If a column came in as text, open its header in the table and set its kind to Number.
  • Headers in the wrong row. Delete any title rows above your headers so the first row holds the column names.

Choosing a color scale

The Color scale setting decides what the colors mean.

Low → high

Use Low → high when the numbers only go one way: counts, totals, minutes, dollars. Pale cells are small and dark cells are large.

Diverging

Use Diverging when the numbers cross a point that matters, usually zero. Change from last year or profit and loss are typical. The scale runs blue to white to red and is centered on zero, so white means no change, blue means below and red means above. You can recolor the Low, Middle and High stops in the Style tab. If your data never goes negative, a diverging scale wastes half its range.

Colors that stay readable

  • Stick to one hue, or a simple two-color blend. Rainbow scales make it hard to tell which color is bigger.
  • Keep the light end light and the dark end dark. Colors that differ only in hue are hard to read for people with color-blindness.
  • Watch for one huge value. One day with 5,000 visits among days of 100 to 200 turns every other cell the same pale shade. Filter it out in the Data tab with a Filter step, or turn on Show numbers in cells so small differences stay readable.

Reading a heatmap

Start with the legend bar, which tells you which end is high. Then find the darkest and lightest cells, and scan along rows and down columns. In the website visits grid above, the darkest cells sit around 12pm on weekdays and around 4pm on Saturday and Sunday, so weekend traffic peaks later.

Color shows rank and rough size, not exact values. When the exact number matters, turn on Show numbers in cells. If you only need to compare a handful of values, a bar chart is easier to read. If your two axes are both numbers, such as hours studied and test score, a scatter plot shows the relationship more directly.

Let the AI draft it

Click Ask AI and describe what you want, such as "use the diverging scale and show numbers in the cells". You can adjust or undo the result, and the assistant sees your column names and small samples of the data, not the whole file.

Everything you need to make a heatmap

  • Upload a file

    Load a CSV, TSV, XLSX, XLS or ODS file, or paste a grid from a spreadsheet. Files are read in your browser and never uploaded.

    The Paste data dialog in Chartjuice with a table pasted from a spreadsheet
  • Looks good out of the box

    Cells start on a light-to-dark color scale with a legend bar, so the busiest cells stand out at once. The number in each cell switches between dark and white text to stay readable.

    The Colors section in Chartjuice with preset palettes, open beside a heatmap
  • Design with AI

    Ask for a different color scale or numbers in the cells. Sign in to get 3 free tries, or go Pro for 50 messages a day.

    See what the AI graph maker can do

    The Chartjuice AI assistant editing a heatmap from a plain-English request
  • Download PNG or SVG

    Export at 1x, 2x or 4x, with a transparent option, or copy the image. Free downloads carry a small, faint chartjuice.com in the bottom-right corner, and Pro removes it. You need no other credit.

    A heatmap downloaded from Chartjuice as a PNG

Frequently asked questions

What is a heatmap used for?

A heatmap shows how a number changes across two categories at once. People use it to spot busy hours in traffic data, compare scores across groups, and find the highest and lowest results in a big table.

Is this a website heatmap tool?

No. Chartjuice makes data heatmaps from a table of numbers. It does not track clicks, scrolling or mouse movement on a website, and it does not draw geographic or GPS heat maps on a map.

Can I paste a table from Excel or Google Sheets?

Yes. Click Paste data, paste your cells, and click Use this data. You can also paste a block straight into the table under the chart. Include the header row.

How do I pick colors for a heatmap?

Use Low → high for numbers that only go up, like counts or totals. Use Diverging when values pass a midpoint such as zero. Keep the light and dark ends far apart so differences stay visible, and set the exact shades in the Style tab.

How much data can a heatmap hold?

Up to 5,000 rows and 50 columns per chart. A grid that reads at a glance is much smaller. For larger tables, use Top N or Group & total in the Data tab to shrink it first.

Can ChatGPT or Claude make a heatmap?

Yes. Connect an AI assistant to Chartjuice once, then paste the table and ask in plain words for a heatmap. It is saved to your account and opens in the editor.

Want the full tour? Read how Chartjuice works.

Save your heatmaps with a free account

You can make and download heatmaps free, with no signup. Create a free account to save your charts, rename or duplicate them.