phic').style.display = 'none';
                document.getElementById('map').style.display = 'none';
                console.log(formatted_data_promise); /**/
                await formatted_data_promise; /**/
                console.log(formatted_data_promise); /**/
                formatted_data_promise.then((resolve, reject) => {
                console.log(formatted_data_promise); /**/
                    var plot, x, marks;
                    if (graph_type === 'bar-chart') {
                // Ajout