December 10, 2009

Swine flu: a user-generated pandemic?

In a recent post at 538.com, Nate Silver delves into mapping the spatio-temporal diffusion of swine flu in the US, via Google Flu Trends. Drawing from queries referencing swine flu, the map below shows the approximate date at which state-wide searches for "swine flu" crossed a particular threshold, potentially signifying the onset of what has become a swine flu pandemic. According to Silver, the date at which the relative number of searches reaches the indexed value of 5000 serves as a proxy for measuring the diffusion of the year's most talked about genetic mix-up.
So we know when and where people were looking for information about swine flu, but what about geo-references to the virus? How does the geography of swine flu differ between Google Flu Trends and user-generated Google Maps placemarks? How do Google's multiple representations compare to the actual number of cases of swine flu in the United States?

Although the CDC has stopped collecting data on the outbreak of swine flu on a state-by-state basis, the regional-level data in the map above shows the concentration of swine flu cases. The upper Midwest, for example, which has the highest number of swine flu infections in the country, only recently surpassed the 5000 point mark on Google Flu Trends. Clearly the act of searching for information on swine flu need not closely correspond to the number of cases. And while this region shows significant clustering in user-generated Google Maps placemarks, the values fail to approach the maximums for the nation as a whole. The peer produced geography of swine flu also seems to support CDC statistics for the southeastern US (showing a relatively high infection rate), while the Flu Trends data fails to match accordingly both there and along the US-Mexico border.
The greatest number of mentions of swine flu in user-generated placemarks is located in Baltimore, Maryland - part of District 3, which is home to the second-most cases of swine flu in the US. However, as one moves up the DC-Philadelphia-NYC-Boston metropolitan corridor there is an increasing disconnection between the online representations and material reality of swine flu. Although the absolute and population-adjusted number of actual swine flu cases in Regions 1 and 2 (home to Boston and New York respectively) are relatively low compared to other regions, they are highly visible in terms of user generated placemarks references to H1N1 or swine flu.
The population-adjusted map does, however, give a much clearer picture of the swine flu landscape in the US. Both the west coast and upper midwest, despite having the highest incidence of swine flu in the country, were previously overshadowed by the population centers of the east coast. Normalized by population, the placemark density comes to mirror much more closely the actual diffusion of swine flu across the country.

December 08, 2009

Toronto and Cape Cod are the "funnest" places in North America

These maps illustrate the distribution of "fun" in North America as defined by user generated placemarks containing the term. Luckily for society, fun seems to be well dispersed and corresponds with the distribution of population. In other words, where there are people there is also fun. But one can also see concentrations and specializations in fun.


For example, Toronto has a massive (dare we say strategic?) reserve of fun clustered around it. Who knew? I have fond memories of my trips to Toronto but had no idea. The film festival is great, the neighborhoods are fantastic and the underground walkways keep you warm in the winter but how does it all come together to make this mother lode of fun? Jane Jacobs clearly had it right. Perhaps this will become the next invisible export for the region's economy.

Also the Northwest is suspiciously fun. How does that work with all the rain?

Clearly, some means of standardizing "fun" needs to be down to separate the large concentrations from the places that truly specialize in fun. When we use population, i.e., fun per capita, it turns out that Cape Cod, a place outside of Ogden, Utah and Cancun, Mexico have the most fun per person in North America. But before you start planning a vacation to the Great Salt Lake, remember that the high showing outside of Ogden was largely due to a very small population figure.

December 03, 2009

November 30, 2009

Baptists, bibliophiles, and bibles, Oh My!

Two powerful and often opposing forces within society are faith and reason. Regardless of the extent to which a cultural war exists, the balance between the two (e.g., teaching evolution in the schools, etc.) is a prominent feature of popular socio-political discourse in the United States. Thus, the topics makes a perfect subject of a map and leads us to ask which parts of the country prefer bookstores to bibles? What's the ratio of Baptists to bibliophiles?
Using the number of Google Maps directory listings[1] for "bookstores" and "churches" as proxy values, this visualization maps the spectrum of the faith and reason conflict. As there are an overwhelmingly larger number of churches than bookstores nationwide it is important to index each of these variables before comparison. The technique used in this map was to divide the number of churches (or bookstores) at a location by the national average of churches or bookstores. If a location had twice the number of churches as the national average it would receive an indexed value of 2. Similarly having only 50 percent of the national average of bookstores would produce an indexed value of 0.5. The church index was then divided by the bookstore index to see each locations relative balance of churches to bookstores. If each of the indexed values were the same, the faith-reason index would be equal to 1. But as in the case of the example above (church index = 2, bookstore index = 0.5) the faith-reason index would be 4. This indicates that this particular location has a much higher relative number of churches to bookstores. In order to exclude places that had approximately equal number of churches and bookstores, this map only includes locations where the faith-reason index was skewed more than 20 percent in either direction (i.e., values greater than 1.2).

For the most part, the relative prevalence of bookstores occurs in and around the big cities - Los Angeles, California is the site of the highest indexed value, and is joined by the megalopolis of the eastern seaboard as having the highest concentrations in favor of bookstores. Even cities such as Atlanta, nestled in the Bible Belt of the American southeast, tend towards a relatively large number of bookstores. On the converse, other large cities like Dallas, San Antonio and Houston continue to favor churches, with New Orleans (the largest city in Louisiana) having the highest relative concentration of churches in the nation. Suburban areas surrounding large population centers also show a near-universal favoritism for churches.

So while there appears to be no single variable determining the local trends toward faith or reason, it is evident that even some of the most common assumptions regarding the geographies of faith and reason have proven to be more complicated; not all large cities are necessarily bookish, but neither is the bible belt a homogeneous geographic unit.

[1] Google Maps directories are drawn from a range of sources such as yellow page listings. This category is distinct from and excludes user generated placemarks that we use in other maps.

November 17, 2009

Mapping Wikipedia

The following maps are the first of a series that will be made in order to map out the distinct geographies of Wikipedia. Many Wikipedia articles (about half a million) are either about a place or an event that occurred within a place, and most of these geographic articles handily contain a set of coordinates that can be imported into mapping software.

The map below displays the total number of Wikipedia articles tagged to each country. The country with the most articles is the United States (almost 90,000 articles), while most small island nations and city states have less than 100 articles. However, it is not just microstates that are characterised by extremely low levels of wiki representation. Almost all of Africa is poorly represented in Wikipedia. Remarkably there are more Wikipedia articles written about Antarctica than all but one of the fifty-three countries in Africa (or perhaps even more amazingly, there are more Wikipedia articles written about the fictional places of Middle Earth and Discworld than about many countries in Africa, the Americas and Asia).


When examining the data normalised by area, an entirely different pattern is evident. Central and Western Europe, Japan and Israel have the most articles per square kilometre, while large countries like Russia and Canada have low ratios of Wikipedia articles per area.


Finally, the data were also mapped out against population. Here countries with small populations and large landmasses rise to the top of the rankings. Canada, Australia and Greenland all have extremely high levels of articles per every 100,000 people. Smaller nations with many noteworthy features or geotaggable events also appear high in the rankings (e.g. Pitcairn or Iceland).

Presences and absences play a fundamental role in shaping how we interpret and interact with the world. The fact that the geographies of Wikipedia content are so uneven therefore leads to worrying conclusions. As we increasingly rely on peer produced information, large parts of the world remain a digital 'terra incognita' (in a similar manner to the ways in which many of those same places were represented on European maps before the 19th Century).

More maps examining the distribution of content in specific languages, and looking in more detail at specific regions will be uploaded soon.

November 16, 2009

Visualizing the abortion debate

Abortion is a hotly contested political issue in the United States, as it has been since even before the Supreme Court's decision in Roe v. Wade in 1973. Regardless of one's position on the matter, the ongoing debate often lends itself to hyperbole, obscuring the observable facts.In this visualization, the difference between the number of abortion alternatives and abortion providers listed in the Google Maps directory is mapped across the US in quarter degree intervals. The greatest difference in favor of abortion providers is found in New York City, with Los Angeles and Seattle representing a similarly disproportionate number of abortion providers. Similar to some previous maps we've published, this concentration of abortion providers has a strong urban bias. However, there are many cities such as Atlanta, Dallas and Cincinnati which have more abortion alternatives than providers while some rural areas such as upstate New York and Maine have more providers.

Overall, the blue coverage across the United States shows that, in a vast majority of the country, abortion alternatives are much easier to find than abortion providers. So while the "pro-life" camp ended up on the wrong side of the 1973 Supreme Court ruling legalizing abortion, they have built a significant organizational infrastructure which can be leveraged to promote their cause, while "pro-choice" advocates remain concentrated primarily in the nation's more politically progressive urban centers.

November 07, 2009

Where in the world is Barack Obama? (and John McCain, too!)

To follow up on our previous map showing the difference in the number of mentions between Barack Obama and John McCain in user-generated Google Maps content prior to the 2008 US Presidential Election, we figured an alternative visualization might be beneficial. The following maps represent the absolute number of mentions of Obama and McCain, respectively, in user-generated placemarks, a disaggregation of the map in our previous post.
This map, much like the previous iteration, shows the vast concentration of user-generated placemarks mentioning Obama in the nation's urban centers. The nation's largest cities - New York City, Los Angeles and Chicago - all appear prominently in this map. Although many of the notable points in both the Obama and McCain maps can be attributed to the large populations (and thus, presumably, a greater level of connectedness), a number of other explanations remain necessary. Despite being the 3rd largest city in the United States, Chicago is also the home of Barack Obama, and it houses the highest concentration of placemarks that mention his name. Significant events also seem assert their presence spatially, as Denver, Colorado, the site of the 2008 Democratic National Convention, is another relatively well-represented area, along with Portland, Oregon, where 70000+ rallied for Obama in May 2008.
Mirroring the already established pattern of urban primacy, much of McCain's presence is concentrated in the nation's urban centers, again including both New York City and the Washington, DC metro area (where McCain has the highest concentration). Unlike Obama, the places McCain is best represented in Google Maps were not necessarily the places he fared the best during either the primary or general election. For example, both Iowa and Michigan, in which McCain receives a nearly uniform number of mentions across the state, voted against him in both the primary and general elections.

Despite some of these patterns of user-generated content merely confirming the primacy of urban areas in virtual representations of the material world, others depart significantly from the predicted spatial clustering. Some areas that voted for McCain feature more prominently in the user-generated representations for Barack Obama, and vice versa, with the number of mentions for Barack Obama being more than double the number of mentions for John McCain. Although not all of the patterns displayed can be easily attributed to a particular causal factor, they only further complicate the relational geographies of the virtual and material world.