Skip to content

sarrtr/real-time-traffic-visualisation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Real-time Traffic Visualization 🌐

Project overview

This project visualises web traffic in the globe that comes to the server from various locations around the world in pseudo real-time.

πŸ“‘ Data

The data is taken from given csv-file. Each row in this file represents a "package" that consist of:

  • ip address of the sender;
  • latitude and longitude of the approximate location;
  • timestamp of the package receiving;
  • suspicious mark that is get from some anomaly traffic detector (0 is normal package, 1 is suspicious).

πŸ“Œ Key features

  • an interactive globe that can be rotated;
  • a list of the most common locations that updates in real time;
  • the traffic is represented by dots of different colors that pop up and dissapear after 10 seconds;
  • normal traffic is marked with green, and suspicious traffic is marked with red (can be hidden/shown using button "Show suspicious activity").

image_1

image_2

πŸ’» Tech stack

  • Python 3.11
  • Flask
  • HTML5 + CSS3
  • JavaScript
  • Three.js
  • Docker

πŸ”§ How to run

git clone https://github.com/sarrtr/real-time-traffic-visualisation.git
cd real-time-traffic-visualisation
docker-compose up --build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published