Description Usage Arguments Value
Create interactive histogram visualizations with 'data-ui'. The histogram will
perform the calculations in 'JavaScript' if the data is raw. If you would like
more control over the calculation, then you can pass pre-binned values
with help from hist_to_binned_data
. dui_histogram
works well
as a full-featured visualization or can also be used as a 'sparkline' in smaller
contexts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | dui_histogram(
rawData = NULL,
binCount = NULL,
binType = NULL,
binValues = NULL,
cumulative = NULL,
horizontal = NULL,
limits = NULL,
margin = NULL,
normalized = NULL,
renderTooltip = NULL,
valueAccessor = NULL,
onMouseMove = NULL,
onMouseLeave = NULL,
tooltipData = NULL,
ariaLabel = NULL,
components = NULL,
width = 600,
height = 400,
elementId = NULL
)
|
binCount |
|
binType |
|
binValues |
|
cumulative |
|
horizontal |
|
limits |
|
margin |
|
normalized |
|
renderTooltip |
|
valueAccessor |
|
onMouseMove, onMouseLeave |
|
tooltipData |
currently not supported. |
ariaLabel |
|
components |
|
width, height |
|
elementId |
|
react htmlwidget
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.