Skip to main content

Heat Map

A heat map for visualizing a relationship between two variables.

Options#

  • data | object (required): object of value arrays for each variable. Default: none.
  • x | string (required): x-axis variable. Default: none.
  • y | string (required): y-axis variable. Default: none.
  • group | (string|Factor): grouping variable. Default: none.
  • overlayPoints | boolean: controls whether to overlay points for each observation. Default: false.
  • smoothSpan | number: smoothing span. Default: 0.66.
  • regressionMethod | array<string>: array containing linear and/or smooth to overlay a linear and/or smoothed regression line. Default: none.
  • alternateColor | boolean: controls whether to use an alternative color scheme for the heat map. Default: false.
  • commonXAxis | boolean: controls whether to use a common x-axis when creating multiple heat maps per value of a grouping variable. Default: false.
  • commonYAxis | boolean: controls whether to use a common y-axis when creating multiple heat maps per value of a grouping variable. Default: false.

Examples#

Live Editor
Result
Last updated on by Planeshifter