Entradas

Mostrando las entradas con la etiqueta dibujar funciones en HTML

Which FIFA World Cup 2026 Match Should You Watch Again? A Python Data Analysis

Imagen
Which FIFA World Cup 2026 Match Should You Watch Again? After every FIFA World Cup, one question always comes up: Which matches are worth watching again? Instead of answering this question based on personal opinion, I decided to analyze every match from the FIFA World Cup 2026 using Python, Pandas and Matplotlib. The objective was simple: Find the matches with the most goals. Identify the strongest defensive performances. List every game that required extra time. Show every match decided by a penalty shootout. The result is a collection of custom visualizations generated entirely with Python using the FIFA World Cup 2026 dataset. ⚽ Highest Scoring Matches If you enjoy attacking football and goal-filled games, this ranking is the perfect place to start. Using the official match results, I ranked every match by the total number of goals scored by both teams. The visualization highlights the ten highest-scoring matches of the tournament. NOTE : Englan...

Graficar Funciones con JavaScript y HTML Chart.js

Imagen
 Cuando trabajamos con datos o funciones matemáticas, es muy útil poder visualizarlos en una gráfica. Con JavaScript y HTML, esto es sencillo si utilizamos una biblioteca como Chart.js . A continuación, te presento un ejemplo donde graficamos la función cuadrática y = x^3 . Usaremos etiquetas en el eje X desde -10 hasta 10 y graficar los valores correspondientes para y . Aquí tienes el código que necesitas para generar la gráfica: <html lang="es"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Graficar Funciones con JavaScript</title>     <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> </head> <body>     <h1>Graficar Funciones con JavaScript y HTML</h1>     <canvas id="miGrafica" width="400" height="200"></canvas>     <script>   ...

🚀 Mantener este blog funcionando requiere tiempo y café. ¡Puedes contribuir con uno aquí!