   });
            return charts[id];
        }

        async function analyzeRepo() {
            const owner = document.getElementById('owner').value.trim();
            const repo = document.getElementById('repo').value.trim();

            if (!owner || !repo) {
                showError('Please enter both owner and repository name');
                return;
            }

            hideError();
            showLoading();

            try {
                // Fetch basic repository info
             