You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.
Some very common code from us might look like the following;
letnestedData=d3.nest().key((b)=>b["Name"]).rollup((b)=>{// return some aggregation on buckets of data by name}).map(data);letnames=Object.keys(nestedData);
So now in getting all of the unique "Name" elements we now get, for example ["$David", "$Jason"] if that makes sense, instead of ["David", "Jason"].
Now I'm not saying there's anything wrong with this, I imagine this update was part of a breaking change version bump, I'm just curious as to the reasoning?
Also I noticed that you export the prefix, did you have a snippet of code as an example of setting the prefix to nothing, if that's possible?
The text was updated successfully, but these errors were encountered:
Hi there 馃憢
We're long time users of d3 and recently looked at upgrading from d3 v3.5.8.
C3 have bumped their dependency on this project so we're wanting to make use of the latest d3 if we're going to update.
One thing I noticed right away is that since quite a while ago you introduced a prefix to keys when using d3.map;
https://github.com/d3/d3-collection/blame/5aad1d67f264c0b3b6a9f3e9833021497f03beeb/src/map.js#L1
Some very common code from us might look like the following;
So now in getting all of the unique "Name" elements we now get, for example
["$David", "$Jason"]
if that makes sense, instead of["David", "Jason"]
.Now I'm not saying there's anything wrong with this, I imagine this update was part of a breaking change version bump, I'm just curious as to the reasoning?
Also I noticed that you export the prefix, did you have a snippet of code as an example of setting the prefix to nothing, if that's possible?
The text was updated successfully, but these errors were encountered: