We currently require the data to be specified as an array, but in the next major version of d3-selection, we should accept any iterable instead.