You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-7
Original file line number
Diff line number
Diff line change
@@ -57,13 +57,17 @@ const m = d3.min(array);
57
57
58
58
## API Reference
59
59
60
-
*[Statistics](#statistics)
61
-
*[Search](#search)
62
-
*[Transformations](#transformations)
63
-
*[Iterables](#iterables)
64
-
*[Sets](#sets)
65
-
*[Bins](#bins)
66
-
*[Interning](#interning)
60
+
-[d3-array](#d3-array)
61
+
-[Installing](#installing)
62
+
-[API Reference](#api-reference)
63
+
-[Statistics](#statistics)
64
+
-[Search](#search)
65
+
-[Transformations](#transformations)
66
+
-[Iterables](#iterables)
67
+
-[Sets](#sets)
68
+
-[Bins](#bins)
69
+
-[Bin Thresholds](#bin-thresholds)
70
+
-[Interning](#interning)
67
71
68
72
### Statistics
69
73
@@ -117,6 +121,10 @@ Returns the mean of the given *iterable* of numbers. If the iterable contains no
117
121
118
122
Returns the median of the given *iterable* of numbers using the [R-7 method](https://en.wikipedia.org/wiki/Quantile#Estimating_quantiles_from_a_sample). If the iterable contains no numbers, returns undefined. An optional *accessor* function may be specified, which is equivalent to calling Array.from before computing the median. This method ignores undefined and NaN values; this is useful for ignoring missing data.
Returns the cumulative sum of the given *iterable* of numbers, as a Float64Array of the same length. If the iterable contains no numbers, returns zeros. An optional *accessor* function may be specified, which is equivalent to calling Array.from before computing the cumulative sum. This method ignores undefined and NaN values; this is useful for ignoring missing data.
@@ -137,6 +145,10 @@ d3.quantile(a, 0.1); // 2
137
145
138
146
An optional *accessor* function may be specified, which is equivalent to calling *array*.map(*accessor*) before computing the quantile.
Similar to *quantile*, but expects the input to be a **sorted***array* of values. In contrast with *quantile*, the accessor is only called on the elements needed to compute the quantile.
0 commit comments