This project visualizes incoming web traffic on an interactive 3D globe. The sender.py script reads IP address data from a CSV file and sends it to the Flask server with realistic time intervals. Received packets are dynamically displayed as colored points on the globe — green for normal traffic, red for suspicious activity. Points appear in real-time and stay on the map.
- Flask microframework for the backend
- Three.js for the frontend
Did quick EDA in the EDA.ipynb notebook just to understand the structure of provided CSV file.
Since the goal was to ensure that the project is easily reproducible, you can do it using the command below:
docker-compose up --buildThe page will be available here:
http://127.0.0.1:5000- A foundation for the
earth.jsfile:index.jsfrom https://github.com/bobbyroe/getting-started-threejs.git repository; - 3D globe visualization: tutorial https://youtu.be/f4zncVufL_I?si=pjeygVtrp4j4HF6H
