that haven't been processed yet
        Chart.defaults.color = '#ffffff';
        Chart.defaults.font.family = 'Fraunces';
        
        // Helper function to convert km to miles if needed
        function convertDistance(km) {
            if (window.userSettings && window.userSettings.unitSystem === 'IMPERIAL') {
                return km * 0.621371; // Convert km to miles
            }
            return km;
        }
        
        // Helper function to get distance unit label
        function getDi