Skip to content

Conversation

@mbostock
Copy link
Member

@mbostock mbostock commented Jan 16, 2022

Takes the filter(index, ...channels) function and incorporates it into plot.js (and facet.js) so that filtering is more declarative and happens by default. You can opt-out of filtering by declaring filter: null (as for lines and areas) or to specify a custom filter definition.

This is groundwork for layouts (e.g., dodge #648)

@mbostock mbostock requested a review from Fil January 16, 2022 06:18
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dig this structural commit, that removes more lines than it adds.

@mbostock mbostock merged commit 4395f02 into main Jan 16, 2022
@mbostock mbostock deleted the mbostock/filter branch January 16, 2022 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants