Claudio Squarcella

Caidagram: Visualising Geographically Annotated Internet Measurements

Claudio Squarcella
0 You have liked this article 0 times.

Caidagram is a tool developed at CAIDA (the Cooperative Association for Internet Data Analysis). It allows the user to visualise geographically-based measurements about the Internet, focusing on trends and variations over time.


With measurement networks rapidly evolving up to hundreds of nodes (see RIPE Atlas as a prominent recent example), it becomes more and more challenging to extract useful visualisations from tons of collected data. At the same time, geographical information related to Internet measurements (either known or inferred with state-of-the-art techniques) can be exploited to build tools based on geography as a common knowledge base.

This article describes the results of my five month visit to CAIDA and UC San Diego, thanking the organizations that collaborated to make this work possible.

We wanted to develop a tool to visualise different classes of geographically annotated Internet data, for instance topology, address allocation, DNS and economical data. The results of my visit at CAIDA include a new interactive tool -- Caidagram -- derived from a decades-old visualisation technique called a  cartogram , a map whose geometry is distorted to convey new information.   A classic example depicts the United States with geographic distance distorted as a function of population per county, colored by the results of the 2004 presidential election popular vote.

Each caidagram extends the geographic mapping metaphor to other variables, while attempting to maximise intuitiveness and readability. With time-series data we used Caidagram to create interactive animations illustrating data trends over time. We show two examples of how the Caidagram can provide insight into real Internet data.

Methodology and Results

In the first example, we look at round trip times (RTT) between different end points, including one-to-many scenarios where we depict RTTs from different locations to one single endpoint. The common endpoint is normally placed in the centre of concentric circles that represent increasing distances.

In our example, the centre represents K-root (including all anycast instances) and the concentric circles represent RTT values. Countries are placed within the concentric circle that corresponds with the average RTT value of that country. This value was determined by combining the RTT values of all test traffic measurement boxes in that country as measured with the RIPE NCC DNS Monitoring service DNSMON . The Test Traffic Measurements network TTM is a network of measurement devices deployed by the RIPE NCC in various locations all over the world.

In Figure 1, you can see a frame from an animation showing round trip times to the K root server . The countries circling around the center, are those in which we placed more than one RIPE NCC TTM monitoring box: USA, The Netherlands, Italy, Japan, Australia, New Zealand, Switzerland, UK, Germany, Luxembourg, Estonia, Portugal, Austria, Sweden, Czech Republic, Israel, Cyprus. To increase readability, countries on the same continent are shown in the same colour.

In order to keep latency small, there are K-root instances on most continents and often more than one. However, sometimes a TTM box queries a root server instance that is on a different continent. This will increase the RTT value and places the country further away from the centre of the image as is the case for the US and Australia in our example.


Caidagrams, DNSMON demo Figure 1: Caidagram showing RTT values to K-root using DNSMON

The second example uses a more traditional cartogram technique to compare quantitative per-country Internet statistics, such as the number of Internet addressing resources in a country. The image below distorts the shape of each country, by either inflating or deflating its boundaries, depending on the number of Autonomous Systems (ASes) assigned to organisations in that country. At the same time, the colour indicates what percentage of these ASes are IPv6 enabled which means, the AS announces one or more IPv6 prefixes (red means no IPv6 enabled ASes and green means all ASes are IPv6 enabled).

The US is very inflated because of the many AS numbers assigned. However, you can also see that only around 10% of these ASes are IPv6 enabled. On the other hand, some European countries, most visibly The Netherlands, are shown in light green, which means almost 50% of the ASes are IPv6 enabled. South America and Africa are very small in this image, because not many AS numbers are assigned in these regions. The underlying data for this image is taken from (see also Networks with IPv6 over Time ).


Caidagrams, Autonomous Systems per Country Figure 2: Caidagram showing IPv6 enabled ASes

I presented Caidagram at RIPE 61 in Rome. The tool is implemented with AJAX for compatibility with most modern web browsers, and uses the Google Web Toolkit and Raphaël , a Javascript library for vector graphics. You can also look at the source code .


0 You have liked this article 0 times.

You may also like

View more

About the author

Claudio Squarcella Based in Rome, Italy

PhD student at Roma Tre University.

Comments 0