Skip to main content

Density plot

Unlike scatter plot that visualizes each individual data point, density plot splits 2D area by bins, and color-codes it depending on the number of points that fall within this bin. The darker the color, the more points it contains.

Developers: To add the viewer from the console, use: grok.shell.tv.addViewer('Density plot');

General:

Right clickContext menu

Density Plot

Properties

PropertyTypeDescription
General
Bin Shapestring
X Column NamestringColumns to be put on the X axis
Y Column NamestringColumns to be put on the Y axis
Allow Zoomboolean
Bin To Rangeboolean
Show Bin Selectorboolean
Back Colornumber
Lasso ToolbooleanWhen true, lasso area selector is used instead of the rectangular one when drawing annotation regions.
Row SourcestringDetermines the rows shown on the plot.
Allow Dynamic Menusboolean
Show Context MenubooleanProperties common for all viewers todo: use code generation
Titlestring
DescriptionstringViewer description that gets shown at the Descriptor Position. Markup is supported.
HelpstringHelp to be shown when user clicks on the ''?'' icon on top. Could either be in markdown, or a URL (starting with ''/'' or ''http'').
Description Positionflexposition
Description Visibility Modevisibilitymode
Style
Auto Layoutboolean
Axis Fontstring
Show Color Scaleboolean
Invert Color Schemeboolean
Color Transform Typestring
Linear Color Schemelist
Formula Fontstring
Annotation Fontstring
Controls FontstringViewer controls elements font.
X
Show X Axisboolean
X Axis Typestring
Invert X Axisboolean
Show X Selectorboolean
X Minnumber
X Maxnumber
Y
Show Y Axisboolean
Y Axis Typestring
Invert Y Axisboolean
Show Y Selectorboolean
Y Minnumber
Y Maxnumber
Misc
Binsnumber
Lines
Show Dataframe Formula LinesbooleanControl the visibility of dataframe-originated formula lines. Edit formula lines by right-clicking and selecting Tools | Formula Lines from the popup menu. Requires the PowerPack plugin.
Show Viewer Formula LinesbooleanControl the visibility of viewer-originated formula lines. Edit formula lines by right-clicking and selecting Tools | Formula Lines from the popup menu. Requires the PowerPack plugin.
Annotation regions
Show Viewer Annotation Regionsboolean
Show Dataframe Annotation Regionsboolean
Data
FilterstringFormula that filters out rows to show. Examples: ${AGE} > 20 or ${WEIGHT / 2)} > 100, ${SEVERITY} == ''Medium'', ${RACE}.endsWith(''sian'')
Tablestring
Description
Show Titleboolean

See also: