is de Riesgo</h4>
    <canvas id="riskChart"></canvas>
    <script>
    document.addEventListener('DOMContentLoaded', () => {
        const ctx = document.getElementById('riskChart').getContext('2d');
        new Chart(ctx, {
            type: 'bar',
            data: {
                labels: [{% for event in behavioral_analysis %}'{{ event.email }}',{% endfor %}],
                datasets: [{
                    label: 'Risk Score',
                    data: [{% for event in behavioral_analysis %}{{ event