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

d3.greatest? #113

Closed
mbostock opened this issue May 22, 2019 · 1 comment
Closed

d3.greatest? #113

mbostock opened this issue May 22, 2019 · 1 comment

Comments

@mbostock
Copy link
Member

Now that we have d3.least, I feel like we need d3.greatest. Especially because d3.least now supports accessors. This is weird:

d3.least(map, ([, value]) => -value)

This is more readable:

d3.greatest(map, ([, value]) => value)
@mbostock mbostock mentioned this issue Jun 10, 2019
@mbostock
Copy link
Member Author

Added in #115.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant