Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Muddsair Sharif
SmartPollenMonitoring
f064c7921f0ef5bc57cb91ec414bbf4bd4cfb8b9
f064c7921f0ef5bc57cb91ec414bbf4bd4cfb8b9
Switch branch/tag
smartpollenmonitoring
node_modules
d3-array
src
threshold
sturges.js
Find file
Normal view
History
Permalink
sturges.js
96 Bytes
Newer
Older
Initial commit
Muddsair Sharif
committed
May 06, 2019
1
2
3
export
default
function
(
values
)
{
return
Math
.
ceil
(
Math
.
log
(
values
.
length
)
/
Math
.
LN2
)
+
1
;
}