A DOM selector for the div in which the scatterplot will live.
The width of the scatterplot (in pixels)
The height of the scatterplot (in pixels)
Optional
_rendererOptional
_rootOptional
elementsPrivate
hooksPrivate
mark_Optional
on_Private
plot_Has the scatterplot completed its initial load of the data?
Optional
tileHooks provide a mechanism to run arbitrary code after call of plotAPI has resolved. This is useful for--e.g.--updating a legend only when the plot changes.
The name of the hook to add.
A function to run after each plot command.
The name of the new column to be created. If it already exists, this will throw an error in invocation
The codes to be assigned labels. This can be either a list of ids (in which case all ids will have the value 1.0 assigned)
or a keyed of values like {'Rome': 3, 'Vienna': 13}
in which case the numeric values will be used.
The field in which to look for the identifiers.
A geojson feature collection containing point labels
A unique key to associate with this labelset. Labels can be enabled or disabled using this key.
The text field in which the labels are stored in the geojson object.
A field in the dataset to associate with the size of the labels.
The name of the encoding dimension to access information about. E.g. ("color", "x", etc.)
Creates a new selection from a set of parameters, and immediately applies it to the plot.
A set of parameters defining a selection.
A DataSelection object that can be used to extend the selection.
See select_and_plot
for a method that will select data and plot it.
A set of parameters for selecting data based on ids, a boolean column, or a function.
Get a short head start on transformations. This prevents a flicker when a new data field needs to be loaded onto the GPU.
A promise that resolves immediately if there's no work to do, or after the delay if there is.
The API call to prepare.
Delay in milliseconds to give the data to get onto the GPU. 110 ms seems like a decent compromise; barely perceptible to humans as a UI response time, but enough time for three animation ticks to run.
Private
unsafe_Generated using TypeDoc
The core type of the module is a single scatterplot that manages all data and renderering.