Reservoir Capacity in Turkey and the U.S.

I’m going to Turkey next month, and interested in the various water challenges facing the country.

Using the GRanD databse, and, I made this chart to compare the construction of reservoirs in Turkey versus the U.S.

Posted in Water | Leave a comment

Interactive Map of the Bicycle Diaries Route

As the book about my trip is about to be released, I decided to make an interactive map of the trip. Below are some points of interest along my two year bicycle journey — click on the markers and read about parts of the journey.

Posted in Maps | Leave a comment

Yosemite Rim Fire

Working with, I helped put together this interactive below that shows how the Yosemite Rim Fire has grown over the past few weeks. The Rim Fire is now as large as San Francisco, Oakland, and San Jose put together (about 200 square miles).

Visit to read Mitch’s great post that puts this fire in perspective.

Posted in Uncategorized | Leave a comment


I’m currently experimenting with Datawrapper as a platform for publishing charts. I’ve downloaded the fire data from, and copied and pasted it. Datawrapper’s goal is to essentially be an open source version of ManyEyes.

Below is the number of fires bigger than 100,000 acres for every year since 1998. I highlighted the years with 10 or more fires over 100,000 acres.

Also, the total number, area burned, and average size of fires since 1985. You can see that the number of large fires is increasing!

Posted in Uncategorized | Leave a comment

Fun with Python and Basemap

I recently re-edited my film Ten Tips for Biking Eastern Europe to submit to the Banff Film Festival (yes, a reach, but why not?). I had to alter the film because the old version uses Google Earth to show our bike route, and this is, of course, copyrighted. So I had to make a non-copyrighted map.

To make a new map, I took the KML file of my bike route (which I produced by combining all of the GPS files from the route), and using the Python library matplotlib and the toolkit extension basemap, plotted the route on NASA’s “blue marble” image of the earth, which is an image of the entire earth created by combining cloud-free satellite images. According to my sources, I can use this NASA image as my map background as long as I attribute it. (Note: the image used in the map background below is brought to you by NASA).


Pretty, eh? I wish the blue marble background image were a bit higher resolution, but I think it looks good enough.

This took a long time, not because the coding was difficult (I borrowed code from here and here), but because it took forever to get the Python libraries installed correctly. And, when I did get the libraries installed, the blue marble background image, for some reason, showed up backwards. To right everything, I had to change the “backend” rendering of the matplotlib library by installing WxAgg (As with most Python library challenges, I just followed advice from the Internet until I got it to work).

Posted in Maps | Leave a comment

Where My Friends Have Traveled

A few months ago, we had a housewarming party and about 30 guests, mostly people roughly my age living in San Francisco, attended. I put a map of the world on the wall, and we asked people to mark each country that they had visited. I then entered the data into excel, used Google Charts Tools Geomap to make the following map of where people I know, who showed up to a party in San Francisco, have traveled.

I think it is absolutely fascinating that not one of the 30 partygoers had been to many places in central Africa, most of the Middle East, or a string of Eastern European countries stretching from the Baltic Sea to the Black Sea. Also, it’s interesting that only one person at the party has visited Russia, and that my friends were just as likely to have visited France and the UK as they were to have visited Mexico.

There’s a lot to say here. I will be revisiting this map.

Posted in Uncategorized | Leave a comment

Eastern Europe Bike Trip in Google Earth

I recently combined all of the GPS files from our ~1000-mile 26-day bike trip this past summer and uploaded them into Google Earth. The result is a path that you can “fly over” and follow. Google Earth also allowed me to plot an elevation profile of the trip.

Unsurprisingly, our favorite parts are almost exactly correlated with the hilliest sections–the Tatras mountains of Slovakia at the beginning of our journey, and the many mountains of Bosnia at the end.

You can download the KML file from our trip here and plot it yourself on Google Earth. I took a screen capture video of the route, which you can see below.

Posted in Uncategorized | Leave a comment

U.S. State Populations with Circles

This weekend I taught myself how to use this javascript library MooCirclePack, which allows one to tightly arrange circles of various radii (yes, it was an exciting weekend). Below are the U.S. states, with the area of each circle proportional to the state’s population.

California is, of course, number one.

Moocirclepack only lets you put an image on each circle, and not text, so I had to use the Python pil library (which was a major pain to install) to turn the state abbreviations into images.

The most interesting thing I saw on this graphic is Puerto Rico (PR). Puerto Rico, with a population of 3.7 million, is more populous than 21 other states. It’s almost strange that it isn’t a state (based on population alone).

I do have some things I don’t like about this visualization. The spatial placement of the circles doesn’t mean anything (Oregon is next to Florida). Secondly, our eyes are not very good at comparing area. For instance, it’s hard to tell, by looking at this graphic, that California has a population 10 times that of Puerto Rico (38 million versus 3.7 million).

Posted in Uncategorized | 2 Comments

More Coal?

This following graphic comes courtesy of WRI, which shows where new coal power plants have been proposed. According to a new report by WRI, there are 1,199 planned around the globe, more than half of which will be built in India and China.

Posted in Maps | Leave a comment

Religion in America

A few weeks back I made the following map to show the religious population in each state, drawing on statistics from Pew Forum on Religion & Public Life. The data is from 2008.

A few things jump out at you: Evangelicals are concentrated in southern states; Catholics are found in the Northeast, North Central, and Southwest regions of the country; Mormons dominate Utah, and almost nowhere else. You’re most likely to find unaffiliated — people who claim no religion — in the far northeast or west of the Rockies. It is also surprising, in comparison to Christians, how few Jewish or Muslim people live in the U.S.

Posted in Uncategorized | Leave a comment