nder(); updateHistory(); });
        document.getElementById('selector-metric-load').addEventListener('click', e => { selectors.metric = 'load'; render(); updateHistory(); });
        document.getElementById('selector-metric-size').addEventListener('click', e => { selectors.metric = 'size'; render(); updateHistory(); });

        // Initialize queries
        selectors.queries = [...data[0].result.keys()].map(k => true);

        // Initial render
        render();
    }

    function render() {
        let