Display Web Traffic on a World Map
Programming Snapshot – Mapping Web Traffic
© Photo by Joey Kyber on Unsplash_Traffic.jpg
Article from Issue 306/2026
To discover where the traffic to his website comes from, Mike Schilli displays it live on an interactive world map.
As soon as I publish a new edition of my USA blog and send out a mass email to my readers, I tend to stare intently at the web server's logfile (Figure 1). This is because I want to see where the traffic is coming from. Instead of looking at long lines of Apache logs, though, I prefer to rest my tired eyes on the colorful graphic in Figure 2. It shows me from which countries people are looking at the current issue in real time on a world map.
Figure 1: The web server records the IP addresses of incoming requests in the logfile.
Figure 2: An interactive world map provides live data in the browser.
[...]
Use Express-Checkout link below to read the full article (PDF).
Buy this article as PDF
Download Article PDF now with Express Checkout
Price $2.95
(incl. VAT)
(incl. VAT)