d(document.createTextNode(elem));
            machines.appendChild(selector);
            if (!(elem in selectors.machine)) { selectors.machine[elem] = true; }
            selector.addEventListener('click', e => toggle(e, elem, selectors.machine));
        });

        // Generate cluster size selectors
        [...new Set(data.map(elem => elem.cluster_size))].sort(
            (a, b) => ((typeof(b) === 'number') - (typeof(a) === 'number')) || (a - b)).map(elem => {
            let selector = document.creat