       if (statisticsType === 'overall') {
                    chartId = 'transportPieChart_overall';
                } else if (statisticsType === 'year') {
                    chartId = `transportPieChart_${year}`;
                } else if (statisticsType === 'month') {
                    chartId = `transportPieChart_${year}_${month}`;
                }

                const pieCanvas = document.getElementById(chartId);
                if (pieCanvas) {
                    const ctx = pieCanvas.getConte