 82.7], [179.1, 79.1], [190.5, 98.2], [177.8, 84.1],
                    [180.3, 83.2], [180.3, 83.2]
                ];

                function calculateAverage(data, dim) {
                    let total = 0;
                    for (let i = 0; i < data.length; i++) {
                        total += data[i][dim];
                    }
                    return total /= data.length;
                }

                const scatterOption = {
                    xAxis: {
                        scale: tru