Skip to content

Commit

Permalink
Spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
zmaril committed Jul 15, 2012
1 parent 33db4d1 commit 10baf40
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/core/nest.js
Expand Up @@ -4,23 +4,6 @@
//nest does is allow a developer to create a hierarchy for a flat set of
//objects. So, if you have a big csv of items, you can start grouping
//them by their characteristics. Here's an example of how to use d3.nest
//
// d3.map({a:1}).get('a') == 1
//
// var books = [
// {title: "Hackers & Painters", author: "Paul Graham"},
// {title: "On Lisp", author: "Paul Graham"},
// {title: "Harry Potter and the Philsopher's Stone", author: "J.K. Rowling"},
// {title: "Harry Potter and the Chamber of Secrets", author: "J.K. Rowling"},
// {title: "Harry Potter and the Order of the Phoenix", author: "J.K. Rowling"},
// {title: "If I did it", author: "O.J. Simpson"}
// ]
//
// var BooksByAuthor = d3.nest()
// .key(function(d){ return d.author})
// .entries(books)

//Boolean function that tells whether or not the key is in the map.
//
// d3.map({a:1}).has('a') == true
// var books = [
Expand Down

0 comments on commit 10baf40

Please sign in to comment.