metric => `
                <div class="metric-card">
                    <div class="metric-value">${metric.value}</div>
                    <div class="metric-label">${metric.label}</div>
                    <div class="metric-change change-${metric.changeType}">${metric.change}</div>
                </div>
            `).join('');
        }
        
        function createCharts() {
            createTypeChart();
            createTimeChart();
        }
        
        function createTypeChart() {
     