Skip to content

issues Search Results · repo:d3/d3-collection language:JavaScript

Filter by

19 results
 (73 ms)

19 results

ind3/d3-collection (press backspace or delete to remove)

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 ...
  • dayvidwhy
  • 4
  • Opened 
    on Aug 28, 2018
  • #28

nest hardcodes key and values. If not too difficult, please support custom field names, as this would make this Vega s issue much easier to solve. Thanks! BTW, I think this has benefit to other users ...
  • nyurik
  • 5
  • Opened 
    on Apr 21, 2018
  • #25

See this interactive notebook to display problem Suppose we have dataset like this var arr = [ {name: jim , amount: 34.0 , date: 11/12/2015 }, {name: carl , amount: 120.11 , date: 11/12/2015 ...
  • bumbeishvili
  • 1
  • Opened 
    on Apr 19, 2018
  • #24

Its difficult to understand why rollup should strip leaf node properties, when there are all kinds of reasons those properties might be desired for viz/labelling. etc once the nest is fed to d3.hierarchy. ...
  • DDDgfx
  • 4
  • Opened 
    on Apr 4, 2018
  • #23

I think that there s should be an example on the Readme for how to import the library using the es6 import syntax. E.g., neither of these syntaxes works: import d3 from d3-collection ; // Doesn t work ...
  • brownieboy
  • 4
  • Opened 
    on Feb 4, 2018
  • #20

Using d3.nest to aggregate a dataset by date. My code: vis.nestData = d3.nest() .key(function(d){ return d.survey; }) .rollup(function(leaves){ return leaves.length; }) .entries(vis.data); vis.nestData.forEach(function(d){ ...
  • jason-stein
  • 1
  • Opened 
    on Oct 13, 2017
  • #19

Maybe I get this wrong but why does the rollup function creates an object with the key value . I expected values . Is this wanted behaviour ? And how can I get values as key ? https://jsfiddle.net/niekes/u6h4summ/1/ ...
  • Niekes
  • 2
  • Opened 
    on Aug 15, 2017
  • #17

Deleted request until I have a POC which actually works.
  • GordonSmith
  • 1
  • Opened 
    on Jul 4, 2017
  • #16

I tried to call sortValues after rollup and it didn t work. Looking at the code it seems to me that is not possible in the way it was implemented, i think that it would be good, so we could group some ...
  • yvescavalcanti
  • 2
  • Opened 
    on Jun 21, 2017
  • #15

Currently nest.sortKeys(comparator) only sorts keys as strings. It seems like this often won t give the desired behaviour. For instance it will fail on dates and numbers with more than one digit. Example ...
  • gunn
  • 5
  • Opened 
    on Jan 17, 2017
  • #13
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub