We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-array currently uses function accessors, e.g.
d3.median(data, d => d.foo)
What if a string could be used instead of an accessor for convenience?
d3.median(data, "foo")
There’s some precedent for this, e.g. Lodash’s _.property:
_.map(data, "foo")
(However, I don’t think we want to support nested properties as in Lodash. I think these should be simple property names with no implicit DSL.)
Here’s where it might be used:
The text was updated successfully, but these errors were encountered:
Fil
No branches or pull requests
d3-array currently uses function accessors, e.g.
What if a string could be used instead of an accessor for convenience?
There’s some precedent for this, e.g. Lodash’s _.property:
(However, I don’t think we want to support nested properties as in Lodash. I think these should be simple property names with no implicit DSL.)
Here’s where it might be used:
The text was updated successfully, but these errors were encountered: