Skip to main content

Contour Chart

A contour chart.

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.
  • 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.
  • onSelected | function: callback invoked when points are selected with x, y values and the selected points. Default: onSelected() {}.

Examples#

Live Editor
Result
Last updated on by Planeshifter