Sismos en México: análisis de 363,329 eventos con Python

Imagen
¿Dónde se registran más sismos en México? ¿Las entidades con más eventos también concentran los sismos de mayor magnitud? ¿Qué años destacan? En este proyecto exploramos estas preguntas utilizando datos del Servicio Sismológico Nacional (SSN) y herramientas de Data Science. URL :http://www2.ssn.unam.mx:8080/catalogo/  Los datos: más de 363 mil registros sísmicos Para este análisis utilizamos el catálogo de sismos publicado por el Servicio Sismológico Nacional de la UNAM . El conjunto de datos contiene información sobre eventos sísmicos registrados en México, incluyendo fecha, hora, magnitud, coordenadas geográficas, profundidad y referencia de localización. El catálogo utilizado contiene registros desde agosto de 2000 hasta agosto de 2026 . Después de revisar y preparar la información contamos con: 363,329 eventos sísmicos ...

Building the ATP Dashboard Tennis.com with Javascript

Building the ATP Dashboard

The goal of this project was to create a web page capable of displaying ATP rankings in a simple and visually appealing way. To accomplish this, I built a dashboard that retrieves data directly from Tennis API using JavaScript and the Fetch API. I used tennis-api.com

The application includes several useful features:

  • ATP Top 3 players overview.
  • Total number of players returned by the API.
  • Dynamic player search.
  • Interactive ATP ranking table.

All information is loaded in real time and updated whenever the page is refreshed from tennis-api.com

You can try the live version of the dashboard here:

ATP Tennis Dashboard Demo

I also recorded a short video showing how to obtain an API Key from tennis-api.com through RapidAPI, explore the available endpoints, and test the dashboard:

Watch the English Video Tutorial


Download the Source Code

If you'd like to experiment with the project or customize it for your own applications, the complete source code is available for download.

The package includes:

  • Complete HTML source code.
  • JavaScript integration with Tennis API.
  • ATP ranking dashboard.
  • Player profile functionality.
  • Search feature.
  • Setup instructions.

Download ATP Tennis Dashboard Source Code

Displaying Player Profiles

One feature I wanted to add was the ability to display detailed information about each player. To achieve this, every player name in the ranking table acts as a clickable link that triggers a second API request.

When a player is selected, the dashboard retrieves information such as:

  • Current ATP ranking.
  • Country.
  • Height.
  • Weight.
  • Coach.
  • Date of birth.
  • Professional debut year.
  • Birthplace.

This transforms the dashboard into an interactive application where users can explore detailed information about professional tennis players.


Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Fetch API
  • RapidAPI
  • Tennis API







Comentarios

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

Entradas más populares de este blog

Guía Práctica: Ejemplo Completo de ASPX para Desarrolladores Web

👉 Cómo obtener el tipo de cambio en Excel con API de Banxico (paso a paso)

Cómo crear un Predictor de Partidos de Fútbol con JavaScript y API-Football