Skip to content
Snippets Groups Projects
Commit ce162866 authored by ferngon's avatar ferngon
Browse files

Update file xg.js

parent 6bd63fc6
No related branches found
No related tags found
No related merge requests found
Pipeline #13004 passed
......@@ -67,7 +67,7 @@
console.log("Datos procesados:", data); // Depuración: verificar datos procesados
// Inicializar con valores por defecto
updateGraph(selectedYear, selectedTrophie);
updateGraph(+d3.select("#yearSelector1").node().value, d3.select("#trophieSelector1").node().value);
// Evento para cambiar el gráfico cuando se selecciona un año
d3.select("#yearSelector1").on("change", function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment