ay.from(new Set(distinctPorts));
        distinctorg = Array.from(new Set(distinctorg));
        distinctCities = Array.from(new Set(distinctCities));
        distinctCountries = Array.from(new Set(distinctCountries));

        // 2) palette creation
        let colorsPorts = {};
        let colorsorg = {};
        let colorsCities = {};
        let colorCountries = {};


        function paletteCreation(arr, obj) {
            for (const key of arr) {
                obj[key] = `rgb(${parseInt(Math.random(