d3.deviation()

d3.deviation(array[, accessor])

Returns the standard deviation, defined as the square root of the bias-corrected variance, of the given array of numbers. If the array has fewer than two values, returns undefined. An optional accessor function may be specified, which is equivalent to calling array.map(accessor) before computing the standard deviation. This method ignores undefined and NaN values; this is useful for ignoring missing data.

doc_D3_Js
2016-11-24 10:25:56
Comments
Leave a Comment

Please login to continue.