Skip to main content

Histogram

A histogram is a graphical representation of the distribution of numerical data.

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

General:

Right clickContext menu
Alt+FShow in full screen
Bin: clickSelect bin exclusively
Bin: ctrl+clickInvert bin selection
Bin: shift+clickSelect bin
Shift+Mouse dragSelect bins

Histogram

Videos

Histogram

Properties

PropertyTypeDescription
Data
Show Filtered Out RowsbooleanWhether the filtered out rows should be shown with the semi-transparent color See also Filtered Out Color
Filtering EnabledbooleanAllows to filter table using the range slider on the bottom.
FilterstringFormula that filters out rows to show. Examples: ${AGE} > 20 or ${WEIGHT / 2)} > 100, ${SEVERITY} == ''Medium'', ${RACE}.endsWith(''sian'')
Tablestring
Value
Value Column NamestringA numerical column used to calculate the distribution of values.
Show X Axisboolean
Allow Column Selectionboolean
Show Bin SelectorbooleanShow bin selector in the left top panel when the mouse is over the histogram
BinsnumberNumber of bins on the histogram
Value Minnumber
Value Maxnumber
Category
Split Column NamestringA categorical column to split data on (each bar represents a category)
Normalize ValuesbooleanWhether the values should be normalized when multiple histograms are shown. If true, you are comparing distributions; if false, you are comparing absolute values. Requires Split Column Name to be set.
Split StackbooleanIf true, split are shown as stacked bins
Spline TensionnumberSpline tension in case multiple histograms are shown. Requires Split Column Name to be set.
Show MarkersbooleanWhether markers should be drown when multiple histograms are shown. Requires Split Column Name to be set.
Misc
Show Y Axisboolean
General
Zoom To RangebooleanWhether the horizontal axis should be zoomed to the range of the visible bins.
Normalize To FilterbooleanWhether the values should be normalized to the filter or globally.
Bin To RangebooleanBin the values that are in the filter range.
SplinebooleanWhether the distribution should be rendered as bars or as a spline. When Split is defined, histogram always shows splines.
Fill SplinebooleanWhether the area below the spline should be filled with the corresponding color. Only applicable when spline is true and split is empty
Show Column Selectorboolean
Show Split Selectorboolean
Show Range Sliderboolean
Show Range InputsbooleanVisibility of the free-text inputs for the filter range
Bin Width RationumberHow much space does bin occupy (1 = no margins, 0 = no bin)
Show Histogramboolean
Show Context MenubooleanShows the context menu.
Margin Leftnumber
Margin Topnumber
Margin Rightnumber
Margin Bottomnumber
Filter Margin Topnumber
Filter Margin Bottomnumber
Legend Visibilityvisibilitymode
Legend Positionflexautoposition
Row SourcestringDetermines the rows shown on the plot.
Allow Dynamic Menusboolean
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
Color
Color Column NamestringNumerical column to be used for color-coding. The values in the bin get aggregated using the Color Aggr Type property.
Color Aggr Typestring
Invert Color Schemeboolean
Linear Color Schemelist
Selection
Show Current RowbooleanIndicates current row as a dot on the horizontal axis
Show Mouse Over RowbooleanIndicates current row as a dot on the horizontal axis
Show Mouse Over Row GroupbooleanShow the distribution of the values that the mouse is currently over in another viewer.
Style
Auto Layoutbooleanstyle
X Axis Heightnumber
Y Axis Widthnumber
Filter Heightnumber
Row Indicator Sizenumber
Back Colornumber
Axis Fontstring
Filtered Bins Colornumber
Selected Bins Colornumber
Filtered Out Colornumber
Controls FontstringViewer controls elements font.
Description
Show Titleboolean

See also: