Add bridge graphs to website.

This commit is contained in:
Karsten Loesing 2010-01-15 13:11:25 +01:00
parent 8183033cb6
commit 7bff7a08ac
3 changed files with 61 additions and 8 deletions

View File

@ -28,8 +28,8 @@ plot_bridges <- function(country, people, filename, color) {
for (i in 1:(length(monthticks) - 1))
monthat <- c(monthat, (monthticks[i] + monthticks[i + 1]) / 2)
png(filename, width=600, height=400)
par(mar = c(2.6, 3.9, 2.1, 0))
plot(data, ylim=c(0, max(na.omit(data))), type="l", col=color, lwd=2, axes=FALSE, frame=FALSE, main=paste(people, "Tor users via bridges"), xlab="", ylab="")
par(mar = c(4.1, 3.9, 2.1, 0))
plot(data, ylim=c(0, max(na.omit(data))), type="l", col=color, lwd=2, axes=FALSE, frame=FALSE, main=paste(people, "Tor users via bridges"), xlab=paste("Last updated:", date()), ylab="")
axis(1, at=monthticks - 0.5, labels=FALSE, lwd=0, lwd.ticks=1)
axis(1, at=c(1, length(data)), labels=FALSE, lwd=1, lwd.ticks=0)
axis(1, at=monthat, lwd=0, labels=monthlabels)

View File

@ -0,0 +1,56 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Tor Metrics Portal: Tor users via bridges</title>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<link href="http://www.torproject.org/stylesheet-ltr.css" type=text/css rel=stylesheet>
<link href="http://www.torproject.org/favicon.ico" type=image/x-icon rel="shortcut icon">
</head>
<body>
<div class="center">
<table class="banner" border="0" cellpadding="0" cellspacing="0" summary="">
<tr>
<td class="banner-left"><a href="https://www.torproject.org/"><img src="http://www.torproject.org/images/top-left.png" alt="Click to go to home page" width="193" height="79"></a></td>
<td class="banner-middle">
<a href="/">Home</a>
<a class="current">Graphs</a>
<a href="reports.html">Reports</a>
<a href="papers.html">Papers</a>
<a href="data.html">Data</a>
<a href="docs.html">Docs</a>
</td>
<td class="banner-right"></td>
</tr>
</table>
<div class="main-column">
<h2>Tor Metrics Portal: Graphs</h2>
<br/>
<h3>Tor users via bridges</h3>
<br/>
<p>Users who cannot connect directly to the Tor network instead
connect via bridges, which are non-public relays. The following
graphs display an estimate of Tor users via bridges based on the
unique IP addresses as seen by a few hundred bridges.</p>
<img src="graphs/china-bridges.png" width="600" height="400"/>
<img src="graphs/bahrain-bridges.png" width="600" height="400"/>
<img src="graphs/china-bridges.png" width="600" height="400"/>
<img src="graphs/cuba-bridges.png" width="600" height="400"/>
<img src="graphs/ethiopia-bridges.png" width="600" height="400"/>
<img src="graphs/iran-bridges.png" width="600" height="400"/>
<img src="graphs/burma-bridges.png" width="600" height="400"/>
<img src="graphs/saudi-bridges.png" width="600" height="400"/>
<img src="graphs/syria-bridges.png" width="600" height="400"/>
<img src="graphs/tunisia-bridges.png" width="600" height="400"/>
<img src="graphs/turkmenistan-bridges.png" width="600" height="400"/>
<img src="graphs/uzbekistan-bridges.png" width="600" height="400"/>
<img src="graphs/vietnam-bridges.png" width="600" height="400"/>
<img src="graphs/yemen-bridges.png" width="600" height="400"/>
<br/>
</div>
</div>
<div class="bottom" id="bottom">
<p>"Tor" and the "Onion Logo" are <a href="https://www.torproject.org/trademark-faq.html.en">registered trademarks</a> of The Tor Project, Inc.</p>
</div>
</body>
</html>

View File

@ -83,12 +83,9 @@
connect via bridges, which are non-public relays. The following
graphs display an estimate of Tor users via bridges based on the
unique IP addresses as seen by a few hundred bridges.</p>
<p><b><font color="red">Please notice that the graphs below have
not been updated since January 2, 2010.</font></b></p>
<img src="graphs-static/china-bridges.png" width="600" height="400"/>
<img src="graphs-static/iran-bridges.png" width="600" height="400"/>
<img src="graphs-static/burma-bridges.png" width="600" height="400"/>
<img src="graphs-static/vietnam-bridges.png" width="600" height="400"/>
<img src="graphs/china-bridges.png" width="600" height="400"/>
<p>Graphs for other countries can be found on a
<a href="bridge-users-graphs.html">separate page</a>.</p>
<br/>
<a id="torperf"/>
<h3>Time to complete requests</h3>