From 290c4899838dfd4be6f87b51c35d9339b53a0730 Mon Sep 17 00:00:00 2001
From: = <=>
Date: Sun, 15 Dec 2024 12:23:28 +0100
Subject: [PATCH] =?UTF-8?q?C=C3=B3digo=20de=20la=20p=C3=A1gina=20web=20ter?=
 =?UTF-8?q?minado?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 visualizacion.js | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/visualizacion.js b/visualizacion.js
index c27e1de..d134041 100644
--- a/visualizacion.js
+++ b/visualizacion.js
@@ -108,6 +108,21 @@ function createAxis() {
         .style("font-weight", "bold")
         .text("Críticas en los Videojuegos: Usuarios y Expertos")
 
+    translate_group.append('g')
+        .attr('class', 'subtitle')
+        .attr("transform", `translate(${width-4.4*margin_x}, -20)`)
+        .append('text')
+        .text("Fuente de datos: ")
+        .style('font-family', 'Georgia, serif')
+        .style('font-size', '17px')
+        .append('a')
+        .attr('class', 'data-source')
+        .attr('href', 'https://www.kaggle.com/datasets/brunovr/metacritic-videogames-data')
+        .text('Dataset')
+        .style('font-family', 'Georgia, serif')
+        .attr('fill', 'blue')
+
+
 
     translate_group.append("g")
         .attr("class", "xAxis")
-- 
GitLab