ows.length - (state.hasHeader?1:0)} rows, ${firstRow.length} columns`);
    }

    function updateVisibilityByType() {
      const single = isSingleValueType();
      $('#multiDatasetControls').style.display = single ? 'none' : 'block';
      $('#singleValueControls').style.display = single ? 'block' : 'none';
      $('#perDatasetColors').style.display = single ? 'none' : 'block';
      $('#piePaletteRow').style.display = single ? 'block' : 'none';
    }

    
    const dropzone = $('#dropzone');
    dropzo