[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-dev] A fun graph you can make at home



This is a graph of the number of simultaneous relay users for every
country, one country per row. It's roughly 30 cm wide and 3 m tall.

https://people.torproject.org/~dcf/graphs/relays-all.pdf

It's basically the same as
https://metrics.torproject.org/users.html?graph=userstats-relay-country&start=2014-09-01#userstats-relay-country
but for every country at once. I thought it might help reveal
differences and similarities.

It's made with the attached R script. Run it like so:

Rscript relays-all.R

You can see a few interesting features. Most conspicuous is the Sefnit
botnet in late 2013 that affected almost every country. Also look at
Russia (ru) around June 2014 and Iran (ir) in August, to pick out some
recent censorship-related examples.

To generate individual pages for printing and taping together, I used
the pdfposter program:

pdfposter -v -p 999x1letter relays-all.pdf relays-all-paginated.pdf

David Fifield
library(ggplot2)
x <- read.csv("clients.csv")
x$date <- as.Date(x$date)
# Remove outlier point at 2011-03-06.
x <- x[x$date >= as.Date("2011-09-01"), ]
p <- ggplot(x[x$node=="relay", ], aes(date, clients, group=1))
p <- p + geom_line() + facet_grid(country ~ ., scales="free_y")
ggsave("relays-all.pdf", p, width=11, height=120, limitsize=FALSE)
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev