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

Accept iterables. #163

Closed
18 tasks done
mbostock opened this issue Feb 7, 2019 · 0 comments
Closed
18 tasks done

Accept iterables. #163

mbostock opened this issue Feb 7, 2019 · 0 comments

Comments

@mbostock
Copy link
Member

mbostock commented Feb 7, 2019

  • time.domain
  • threshold.domain
  • threshold.range
  • sequentialQuantile.domain
  • sequential.domain
  • quantize.domain
  • quantize.range
  • quantile.domain
  • quantile.range
  • ordinal.domain
  • ordinal.range
  • identity.domain, identity.range
  • diverging.domain
  • continuous.domain
  • continuous.range
  • continuous.rangeRound
  • band.range
  • band.rangeRound

In many cases, we’re already calling Array.prototype.map on the input, say to coerce to a number. It’ll be pretty easy to switch these to use Array.from.

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