Deyan Ginev edited figures/flot_arxiv_paper_sizes.html  almost 9 years ago

Commit id: 46a78513ac78a91e6a982531b16d8318b40eaa04

deletions | additions      

       

var sortedKeys = Object.keys(cleanedRawData).sort(compareNumbers);  console.log("Smallest paper: ",sortedKeys[0]);  console.log("Largest paper: ",sortedKeys[sortedKeys.length - 1]);  total_papers = 0;   total_size = 0;   $.each(sortedKeys, function(){total_size+=parseInt(this) || 0;});   $.each(sortedKeys, function(){total_papers+=parseInt(cleanedRawData[this]) || 0;});   console.log("Total papers: ", total_papers);   console.log("Total size: ", total_size);   console.log("Average size: ",total_size / total_papers);    function getData(xmin,xmax) {  var sizeData = [];