From 9b7d0e49b201d681457623819636a896da18b292 Mon Sep 17 00:00:00 2001 From: ferngon <fernando.gonzalez.sanz@alumnos.uva.es> Date: Tue, 10 Dec 2024 16:33:57 +0000 Subject: [PATCH] Update 3 files - /index.html - /xg2.js - /xg.js --- index.html | 2 +- xg.js | 4 ++-- xg2.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 96fc538..4d3a985 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ <h1 class="titulo-verde">Visualización de xG: Ligas europeas</h1> <div class="tabs"> <div class="tab active" onclick="showTab(0)">xG vs Goles anotados</div> - <div class="tab" onclick="showTab(1)">xG - Goles anotados</div> + <div class="tab" onclick="showTab(1)">Goles anotados - xG</div> </div> <!-- Contenedor de la pestaña xG 1 --> diff --git a/xg.js b/xg.js index 708baf8..da4a198 100644 --- a/xg.js +++ b/xg.js @@ -27,7 +27,7 @@ legendContainer.html(` <h3>Leyenda</h3> <p><span style="color: blue;">●</span> Goles anotados</p> - <p><span style="color: red;">●</span> xG (Expected Goals)</p> + <p><span style="color: red;">●</span> xG (Goles esperados)</p> <p><span style="color: blue;">──</span> Goles>xG</p> <p><span style="color: red;">──</span> xG>Goles</p> `); @@ -108,7 +108,7 @@ // Crear un nuevo título svgContainer.select("h2").remove(); // Eliminar título anterior si existe svgContainer.append("h2") - .text(`"xG(goles esperados)" vs "Goles anotados": ${trophie} ${year}-${year + 1}`) + .text(`"xG(Goles esperados)" vs "Goles anotados": ${trophie} ${year}-${year + 1}`) .style("text-align", "center-left") .style("margin-bottom", "10px"); diff --git a/xg2.js b/xg2.js index 9e44757..e87afdd 100644 --- a/xg2.js +++ b/xg2.js @@ -105,7 +105,7 @@ // Crear un nuevo título svgContainer.select("h2").remove(); // Eliminar título anterior si existe svgContainer.append("h2") - .text(`Diferencia "Goles anotados" - "xG(goles esperados)": ${trophie} ${year}-${year + 1}`) + .text(`Diferencia "Goles anotados" - "xG(Goles esperados)": ${trophie} ${year}-${year + 1}`) .style("text-align", "center-left") .style("margin-bottom", "10px"); -- GitLab