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

Filter operator. #25

Closed
mbostock opened this issue Nov 7, 2010 · 1 comment
Closed

Filter operator. #25

mbostock opened this issue Nov 7, 2010 · 1 comment

Comments

@mbostock
Copy link
Member

mbostock commented Nov 7, 2010

So that we can efficiently reduce the set of selected nodes.

@mbostock
Copy link
Member Author

mbostock commented Nov 7, 2010

Done. Although, I'm not totally sure whether the filter operator should preserve the index of the current selection. For now, I've decided to make it behave like Array.filter, which returns a new, collapsed array (and thus changes the index).

murtada58 pushed a commit to murtada58/d3 that referenced this issue Mar 16, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant