Built with blockbuilder.org
Nesting and summarizing data is a very common task for data analysis. I thought it would be nice to view parallel ways of nesting and summarizing with both
- R | tidyranddplyr
- JavaScript | d3.js...v4 for fun
To avoid context switching, I'll take advantage of the R package V8.  If you are an R user, then these d3.js gists might be helpful d3 nest examples and Mister Nester.