From ec15854300ab2003534be0076df6f488fd46f7f8 Mon Sep 17 00:00:00 2001
From: ferngon <fernando.gonzalez.sanz@alumnos.uva.es>
Date: Thu, 12 Dec 2024 20:25:05 +0000
Subject: [PATCH] Update file xg.js

---
 xg.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xg.js b/xg.js
index 93e2a6c..f347b2c 100644
--- a/xg.js
+++ b/xg.js
@@ -67,7 +67,7 @@
         console.log("Datos procesados:", data); // Depuración: verificar datos procesados
     
         // Inicializar con valores por defecto
-        updateGraph(2014, "La_liga");
+        updateGraph(selectedYear, selectedTrophie);
     
         // Evento para cambiar el gráfico cuando se selecciona un año
         d3.select("#yearSelector1").on("change", function() {
-- 
GitLab