Skip to content

Generic sort and filter transforms. - #205

Merged
mbostock merged 3 commits into
mainfrom
mbostock/filter
Mar 9, 2021
Merged

mbostock merged 3 commits into
mainfrom
mbostock/filter

Conversation

@mbostock

@mbostock mbostock commented Mar 9, 2021

Copy link
Copy Markdown
Member

Supersedes #203.
Fixes #180.
Fixes #179.
Fixes #138.

Because this happens at the maybeTransform layer, all the built-in transforms such as stack now support the sort and filter options, too.

@mbostock
mbostock requested a review from Fil March 9, 2021 17:56

@Fil Fil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow this is great!

Very nice that we we can filter and sort. One thing that might need an error message is if sort or filter are ignored because of a (more explicit, more generic) transform.

@mbostock
mbostock merged commit 38c66a6 into main Mar 9, 2021
@mbostock
mbostock deleted the mbostock/filter branch March 9, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants