How to Create a Heat Map

Table of Contents

What is a Heat Map

Heat Maps replicate with colors the “intensity” of some grid’s values: larger the value, darker the color. More specific, one lower “half” gradually gets the lighter colors, while the upper “half” gradually gets the darker colors.

The term “half” is determined either by the zero value (for Zero-Based Heat Maps), or the median value (for Median-Based Heat Maps).

Simple Heat Maps will show just two colors: the up and down theme colors. First “half” – with lower values – gets the down color, while second “half” – with larger values – gets the up color.

Complex Heat Maps use a multitude of semi-transparent alpha values to gradually move from lightest to darkest, split right in the middle, where the “half” was.

Steps to Create a Heat Map

Start Visual Xtractor or Data Xtractor. Connect to a database. Create or design a SQL query. Run the query and check the results.

  1. Display and enable the Inline Chart query builder.
  2. Set any numeric columns to Heat MapsHeat Map.
  3. From the Heat Map toolbar button, select either Zero-Based or Median-Based map.
  4. From the same Heat Map toolbar button, select either Simple or Complex map.
  5. All selected column values will be considered together to internally determine the “half”.
  6. Minimum and maximum values appear in bold.

Heat Map Demo Queries

Look for the ready-to-use Zero Complex Heat Map and Median Simple Heat Map generated queries under the Queries > Demo Queries > Inline Charts > Heat Maps folder. Click on the “add demo queries” command link, if not there.

All Heat Map demos use random values, so you will likely get a different image every time. Here is a custom Median-Based Complex Heat Map, built with fixed values:

Median-Based Complex Heat Map

Customize your Heat Map

  1. Switch between a Zero-Based and Median-Based map.
  2. Switch between a Simple and Complex map.
  3. Hide the text in any inline chart cell.
  4. Show cells as monochrome, with no colors.

Custom Heat Map

Conclusion

  • Creating Heat Maps in Data Xtractor or Visual Xtractor is fast and trivial: just set one or more numeric columns as Heat Map.
  • Choose either a Zero-Based or Median-Based map, which will determine the “half”.
  • Choose either a Simple or Complex map, for two colors or many light-to-dark gradients.