ES6 Collections.
mbostock opened this issue · 2 comments
mbostock commented
What would d3-collection look like if we dropped the d3.map and d3.set implementations? You might still want a d3.map with a key accessor for constructing a Map from an array of data (the key would default to index if not specified, and perhaps #10 you’d also allow an optional value accessor), and a d3.set with an optional accessor.
mbostock commented
Related to this, d3.nest’s keys would no longer be coerced to strings.
Likewise, we might change ordinal scales to not coerce the domain to strings.
mbostock commented
Moving to d3/d3-array#75.