title: Papa Parse csv to object, 1 million rows by 10 columns, Chunk function
body: <p>I'm trying to parse the data in my csv with Papa Parse, but the returned object is only 50,000 of the million rows. I attempted to use the chunk callback function to break up the file into smaller components, but haven't had any luck because I don't understand where I pass in the break up size and where I call back the function. my code is here...</p>
  
  <pre><code>function loadData(evt){
  var rowCount = 0;
  var file = evt.target.files[0];
  Papa.parse(file, {
      header:true,
      delimeter: ',',
      worker:true,
  
      // chunk: function(results){
      //    rowCount += results.data.length;
      // },
      complete: function(results) {
          csvData = results
          console.log(csvData);
      }
  }); 
  }
  </code></pre>
  
  <p>I know that my rowCount variable is not being used but I am unsure where I pass that in. i've looked a the documentation online but still don't really understand the chunk function, so any additional documentation or advice would be appreciated. thanks.</p>