Heatmap matrix

X/Y categorical heat. What the heatmap matrix is for, the data it needs and every option it has.

4 min read

On this page

X/Y categorical heat. It sits in the Matrix group of the widget library.

Example heatmap matrix on a BankSync dashboard
An example heatmap matrix drawn with sample data. Hover for values and switch between examples.

When to use it#

Use a heatmap matrix to show a value for every pairing of two lists, with the number printed in each cell where it fits. It works best when both axes share the same items, such as transfers between your own accounts (from account by to account), where the diagonal and the mirror image carry meaning.

When to pick something else#

  • The two axes are different things, like category by month? Use a Heatmap.
  • You want to follow money from one account to another? Use a Sankey or Chord diagram.
  • Need exact figures to copy or sort? Use a Table.

The data it needs#

Pick these in the Data tab of the inspector. BankSync suggests a column for each when your source has an obvious match.

FieldNeededPickNotes
X axisYesa category or a date
Y axisYesa category
ValueYesa number

Rows that share a category are combined before drawing: choose Sum, Average, Count, Min or Max on the value field. See Binding data.

Heatmap matrix options#

Set these on the Style tab of the inspector. "Automatic" means BankSync picks a value from the chart's size and data.

OptionWhat it doesValuesNew charts start with
Colour scaleContinuous shades from low to high (two-sided when values go below zero), Diverging shades out from zero, Categorical gives each distinct value its own colour.Continuous, Diverging, CategoricalContinuous
Cell corner radiusRounds the corners of each cell, in pixels.Number, 0 or moreAutomatic
Cell gapSpace between cells, in pixels.Number, 0 or moreAutomatic
Show valuesWrite each cell’s value inside it when there is room. On by default.On or offAutomatic
Value sizeText size of the values inside the cells, in pixels.NumberAutomatic

Needs history#

Show a note instead of the chart until the rows cover enough periods, so a first week never reads as a trend.

OptionWhat it doesValuesNew charts start with
Date fieldThe date column whose distinct periods are counted.TextAutomatic
PeriodWhat counts as one period: a day, week, month, quarter or year.Day, Week, Month, Quarter, YearAutomatic
Periods neededHow many distinct periods the rows must cover before the chart draws (2 to 60).Whole number, 2 to 60Automatic
Waiting messageShown until there is enough history. Leave empty for a message naming the periods.Text, up to 120 charactersAutomatic

Colour settings#

Fine-tune the colours used for cell values and their legend.

OptionWhat it doesValuesNew charts start with
Scale typeOverrides the colour scale above: continuous, diverging around zero, or one colour per distinct value.Continuous, Diverging, CategoricalAutomatic
Colour schemeA palette name, or your own colours separated by commas, running from low to high.TextAutomatic
Reverse coloursFlip the colour scale so the low end uses the high colour.On or offAutomatic
Show colour legendShow the bar that explains which colour means which value.On or offAutomatic
Colour stepsGroup values into this many distinct shades instead of a smooth blend. 0 keeps the blend.Whole number, 0 to 9007199254740991Automatic

Shared chart styling#

Every chart also has the shared styling options. These apply to this one:

Messy data#

  • Rows with a blank or non-numeric value are left out; with none left you see "No numbers to show".
  • Duplicate pairs are added together, and pairs with no data show as faint empty cells so the grid keeps its shape.
  • If any value is negative the colours switch to a two-sided scale centred on zero.
  • Numbers that do not fit a cell are shortened (for example 12.3K) or left off; hover for the full value.

On a phone#

Cells stay square, so on a full-width phone card a large grid gets small cells and the printed values drop out. Up to about eight items per side stays readable; beyond that use a Table on phones.

Use this page with your AI assistant

Every BankSync doc is available as plain Markdown for agents and LLMs.