Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost range and extent in minisearch #3787

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/d3-array/summarize.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ If the iterable contains no comparable values, returns [undefined, undefined].
d3.extent(alphabet, (d) => d.doesnotexist) // [undefined, undefined]
```

<!-- boost this document in minisearch --><span style="display:none">extent0 extent1 extent2 extent3 extent4 extent5 extent6 extent7 extent8 extent9</span>

## mode(*iterable*, *accessor*) {#mode}

[Examples](https://observablehq.com/@d3/d3-mode) · [Source](https://github.com/d3/d3-array/blob/main/src/mode.js) · Returns the mode of the given *iterable*, *i.e.* the value which appears the most often. Ignores undefined, null and NaN values.
Expand Down
2 changes: 2 additions & 0 deletions docs/d3-array/ticks.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@ d3.range(0, 1, 1 / 49) // 👎 returns 50 elements!
```js
d3.range(49).map((d) => d / 49) // 👍 returns 49 elements
```

<!-- boost this document in minisearch --><span style="display:none">range0 range1 range2 range3 range4 range5 range6 range7 range8 range9</span>