Zimbabwe
Belarus
Uzbekistan
Côte d´Ivoire
Venezuela
Laos
Haiti
Philippines
Kazakhstan
Syria
Ethiopia
Ecuador
Kenya
Russia
Malawi
Azerbaijan
Angola
Nicaragua
Pakistan
Bangladesh
Nigeria
Zambia
Mozambique
Gambia
Sudan
Georgia
Iraq
Ukraine
Belize
Guatemala
Indonesia
Iran
Egypt
Honduras
Papua New Guinea
Paraguay
Afghanistan
Mongolia
Argentina
Cameroon
Bolivia
Uganda
Yemen
Jamaica
Moldova
Myanmar
Swaziland
Vietnam
Kyrgyzstan
Trinidad and Tobago
Albania
Congo, Republic
Sierra Leone
Benin
Dominican Republic
Macedonia
Morocco
Panama
Sri Lanka
Mali
Nepal
Suriname
Burkina Faso
Lebanon
Mauritania
Congo, Democratic Republic
Rwanda
Tonga
Cambodia
Somalia
Brazil
Saudi Arabia
Timor-Leste
Armenia
Eritrea
Namibia
Senegal
Turkmenistan
Central African Republic
Peru
Chad
Maldives
Poland
Tanzania
Tunisia
Kuwait
Palestine
Colombia
Yugoslavia
Burundi
Costa Rica
Bulgaria
Croatia
Oman
Serbia
Tajikistan
Turkey
China
Italy
Libya
Romania
Thailand
El Salvador
India
Bosnia and Herzegovina
Cuba
Niger
Gabon
Greece
Latvia
Lesotho
Lithuania
South Africa
Togo
Mauritius
Mexico
Dominica
Equatorial Guinea
Ghana
Bahrain
Uruguay
Israel
Malaysia
Czech Republic
Macao
Hungary
Jordan
Madagascar
Algeria
Botswana
Seychelles
Bhutan
Grenada
Guinea
Liberia
Belgium
Cyprus
Kiribati
Slovakia
Taiwan
Comoros
Guinea-Bissau
Malta
Portugal
Vanuatu
Qatar
South Korea
Canada
Estonia
Guyana
Ireland
Slovenia
Japan
Norway
Spain
United Arab Emirates
Austria
France
Switzerland
Chile
Germany
Iceland
Luxembourg
United Kingdom
United States
Australia
Samoa
Sweden
Finland
Hong Kong
Netherlands
Barbados
Denmark
Djibouti
New Zealand
Saint Lucia
Sao Tome and Principe
Singapore
Cape Verde
Grenadines
Saint Vincent
Solomon Islands
Montenegro
Fiji
Puerto Rico

Since 1998, Transparency International has published an annual report called the Corruption Perception Index (CPI), which “ranks 180 countries by their perceived levels of corruption, as determined by expert assessments and opinion surveys.” Looking at the 2008 edition, I wondered about trends. Which countries have shown the most CPI volatility since 1998? Is there a trend toward light or darkness? If so, which countries run counter to the trend, and why?

The table of sparklines shown here presents a rendering of the data in a way that allows us to ask, and begin to answer, such questions. It defines CPI volatility as the difference between a country’s highest and lowest CPI ranking over the 11-year period, and sorts countries from most to least volatile. Sparklines chart this data under a reference line, and distance from that line signifies descent into darkness.

To answer one of my questions, Bangladesh, Nigeria, Georgia, and Guatemala stand out — among the most volatile countries — as atypically hopeful amidst a general downhill slide. That, anyway, is what Transparency International’s data seems to indicate.

I’ll leave it to political experts to weigh in on the plausibility of that interpretation. Here I’ll just ask a more basic question. We see tables, maps, and charts — like the ones published by Transparency International — all over the web. But in my experience, when you try to actually use the data, it’s almost always way too hard.

In a later entry I’ll describe, in gory detail, the gymnastics required to massage the TI data and produce this visualization. But just to give you a hint, here are the six different ways of encoding Côte d´Ivoire that I found in the eleven files I had to merge:

C\xC3\xB4te d\xC2\xB4Ivoire
Cote d'Ivoire
C\xF4te-d'Ivoire
Cote d\xB4Ivoire
Cote d?Ivoire
C\xF4te d\xB4Ivoire

There were also typos (Moldovaa for Moldova), variant spellings (USA vs United States), and format inconsistencies (empty vs. non-empty cells when a rank is repeated).

Why go to all the trouble to gather and publish this kind of data, and then not consolidate it into a form we can use directly?