   data: Object.values(languages),
                        backgroundColor: Object.keys(languages).map(lang => 
                            languageColors[lang] || `#${Math.floor(Math.random()*16777215).toString(16)}`)
                    }]
                };
                charts.languagesChart.update();

                // Fetch and update commits
                const commits = await fetchGitHub(`/repos/${owner}/${repo}/commits?per_page=30`);
                const commitsByDate = {};
                co