The ScatterPlot is a plot operator that computes a scatter plot over two attributes of a vector dataset. Thereby, the operator considers all data in the given query rectangle.
ScatterPlot
In case of more than 500 points to plot, the representation changes from a regular scatter plot to a 2D Histogram with buckets determined from the underlying data.
500
columnX
String
"width"
columnY
"height"
The operator consumes exactly one vector operator.
source
SingleVectorSource
The operator returns an error if one of the selected columns does not exist or is not numeric.
If your dataset contains infinite or NAN values, they are ignored for the computation. Moreover, if your dataset contains more than 10.000 values, the buckets of the histogram are generated based on those 10.000 values. Later values outside those bounds are ignored.
infinite
NAN
10.000
{ "type": "ScatterPlot", "params": { "columnX": "width", "columnY": "height" }, "sources": { "vector": { "type": "OgrSource", "params": { "data": { "type": "internal", "datasetId": "a626c880-1c41-489b-9e19-9596d129859c" } } } } }