Really beautiful idea, and thanks for the link for John Tromp's idea. I will use your notation in my course.
I am sure, being from where you are, you have heard of "Henderson Diagrams" from SICP. They are also a great visual tool for functional programming.
From the Russian side of the cosmos, Drakon is a nice flowchart language (not a circuit diagram language), but I have never used it:
https://en.wikipedia.org/wiki/DRAKON
Maxmind data is also often just wrong, updated or not. As a hosting provider with a number of IP ranges, we have to deal with submitting corrections to them, Google, ip2location, etc. all the time. Not sure why none of them seem to use very accurate methods to discern IP location.
Since you're doing a traceroute anyhow, you'd be better off analyzing the transit hops, and specifically the city codes used in the reverse DNS entries.
If you're interested in using the http://ipinfo.io API for this, so you don't have to worry about keeping your database up to date and you get additional details, let me know. I'd be happy to hook you up with a free unlimited plan specifically for this site.
Since this piece was written, I have discovered another notation by John Tromp which I consider to be the most breathtakingly beautiful:
- https://tromp.github.io/cl/diagrams.html
Here used by Paul Crowley to describe Graham's number:
- https://mindsarentmagic.org/2020/02/19/a-picture-of-grahams-...
- https://mindsarentmagic.org/2020/02/24/some-more-numbers-as-...