Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ deviation
Function
deviation
src/deviation.js:3–6 ·
view source on GitHub ↗
(values, valueof)
Source
from the content-addressed store, hash-verified
1
import
variance from
"./variance.js"
;
2
3
export
default
function
deviation(values, valueof) {
4
const
v = variance(values, valueof);
5
return
v ? Math.sqrt(v) : v;
6
}
Callers
2
deviation-test.js
File · 0.90
thresholdScott
Function · 0.85
Calls
1
variance
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…