Density Plot

ISLE component to generate a density plot for one or multiple data sets.

Example:

<DensityPlot
    data={[ 40, 80, 20, 30, 50, 30, 40, 10, 20, 10, 20, 20 ]}
    xmin={0}
    xmax={100}
    ymax={0.5}
/>

Options:

  • data: an array or array of arrays holding the data for which the density plot should be created.
  • xmin: minimum value displayed on the x-axis. Default: 0.
  • xmax: maximum value displayed on the x-axis. Default: 1.
  • ymax: maximum value displayed on the y-axis. Default: 0.15.
  • width: number giving the width of the created plot (in px). Default: 600.
  • height: number giving the height of the created plot (in px). Default: 300.
  • nBins: number of bins for the overlaid histogram. Default: 8.
  • bandwith: smoothing parameter for the kernel density estimator. Must be a number greater than zero. Default: 4.

results matching ""

    No results matching ""