UNPKG
@nepwork/dashboards
Version:
latest (0.0.2)
0.0.2
Dashboards for emergencies and monitoring
github.com/nepwork/admin-ui
nepwork/admin-ui
@nepwork/dashboards
/
hgraph
/
node_modules
/
d3-array
/
src
/
threshold
/
scott.js
6 lines
(4 loc)
•
180 B
JavaScript
View Raw
1
2
3
4
5
6
import
deviation
from
"../deviation"
;
export
default
function
(
values, min, max
) {
return
Math
.
ceil
((max - min) / (
3.5
*
deviation
(values) *
Math
.
pow
(values.
length
, -
1
/
3
))); }