timeChart').getContext('2d');
            const dates = Object.keys(statsData.downloads_by_date).sort();
            const values = dates.map(date => statsData.downloads_by_date[date]);
            
            new Chart(ctx, {
                type: 'line',
                data: {
                    labels: dates.map(date => new Date(date).toLocaleDateString()),
                    datasets: [{
                        label: 'Downloads',
                        data: values,
                        borderC