report/assets/js/pie.js
//zip language & share for d3.js
zip language & share for d3.js
zip language & share for d3 . js
function zip(lang, share) {
    var res = [];
    for (var i = 0; i < lang.length; ++i){
      res.push({
        language: lang[i],
        share: share[i]
      });
    }
    return res;
  }
function zip ( lang , share ) { var res = [ ] ; for ( var i = 0 ; i < lang . length ; ++ i ) { res . push ( { language : lang [ i ] , share : share [ i ] } ) ; } return res ; }
zip language & share for d3.js
zip language & share for d3 . js