       note.appendChild(document.createTextNode('â€ '));

        let tooltip = document.createElement('span');
        tooltip.className = 'tooltip tooltip-result';
        tooltip.appendChild(document.createTextNode(text));

        note.appendChild(tooltip);
        return note;
    }

    function renderSummary(filtered_data) {
        let table = document.getElementById('summary');
        clearElement(table);

        /// Generate summary

        /// The algorithm: for each of the queries,
      