The Commitment to Development Index | Center for Global Development
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
images
js
templates
.gitignore
CdiXmlParser.php
LICENSE.md
ParserTest.php
README.md
cdi-xml-full-document.xml
cdi2016.info
cdi2016.module
cdi2016_country.tpl.php
cdi2016_footer.tpl.php
cdi2016_index.tpl.php

README.md

Commitment to Development Index

This repository is for the 2017 update to the Center for Global Development's annual Commitment to Development Index, which ranks 27 of the richest countries on policies affecting those living in poorer countries. The CDI ranks countries on seven components—aid, finance, technology, environment, trade, security, and migration—each of which has several subindicators.

This version of the CDI was first created by Creative Science in 2015. It parses data from an XML file into JavaScript objects and is built on a Backbone.js framework with help from chart.js for rendering drill-down graphs. The 2016 update (by John Osterman) added the ability for users to adjust the weights of the seven components, which by default are weighted equally, and see the effects the adjustments have on the overall scores and rankings.

Other 2016 improvements include better responsiveness for mobile and tablets, more animation to make responses to user input make better sense, more social-sharing opportunities, and better data visualizations.

2017 Update

2017 updates by John Osterman improve bar charts by showing the units of the data and displayinghow one country's score compares to the spread and median of all other countries, improve the handling of null data, and better explain inversed indicators, where a lower score is better. See this blog post for more information about the update.