<div class="paste-data">

<file-dropzone
  dataset="dataset"
  max-file-size="3"
  valid-mime-types="[text/csv, text/json, text/tsv]">

  <div class="upload-data">
    <div class="form-group">
      <label for="dataset-file">File</label>
      <input type="file" id="dataset-file" accept="text/csv,text/tsv" />
    </div>
    <p>
      Upload a CSV, or paste data in <a href="https://en.wikipedia.org/wiki/Comma-separated_values">CSV</a> format into the fields.
    </p>
    <div class="dropzone-target">
      <p>Drop CSV file here</p>
    </div>
  </div>

  <form ng-submit="addDataset()">
    <div class="form-group">
      <label for="dataset-name">Name</label>
      <input type="name"
        ng-model="dataset.name"
        id="dataset-name"
        required></input>
    </div>
    <div class="form-group">
      <textarea ng-model="dataset.data"
        ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 17, 'blur': 0 }}"
        required>
      </textarea>
    </div>
    <button type="submit">Add data</button>
  </form>

</file-dropzone>

</div>

<div class="paste-data">

<file-dropzone
  dataset="dataset"
  valid-mime-types="[text/csv, text/json, text/tsv]">

  <div class="upload-data">
    <div class="form-group">
      <label for="dataset-file">File</label>
      <input type="file" id="dataset-file" accept="text/csv,text/tsv" />
    </div>
    <p>
      Upload a CSV, or paste data in <a href="https://en.wikipedia.org/wiki/Comma-separated_values">CSV</a> format into the fields.
    </p>
    <div class="dropzone-target">
      <p>Drop CSV file here</p>
    </div>
  </div>

  <form ng-submit="addDataset()">
    <div class="form-group">
      <label for="dataset-name">Name</label>
      <input type="name"
        ng-model="dataset.name"
        id="dataset-name"
        required></input>
    </div>
    <div class="form-group">
      <textarea ng-model="dataset.data"
        ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 17, 'blur': 0 }}"
        required>
      </textarea>
    </div>
    <button type="submit">Add data</button>
  </form>

</file-dropzone>

</div>

Remove max file size limitation on dataset file upload directive
Remove max file size limitation on dataset file upload directive

While Voyager & Polestar will certainly not perform at peak with data
of extreme size, a hard limit is not useful: it should be up to the
user's judgement whether the tool is performing adequately for their
use, and capping the file upload size simply prevents them from using
Voyager or Polestar on some datasets that, while slow, certainly "work".
