Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Visualization of US foreign aid over time
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
lib
README.md
d3.csv.js
d3.csv.min.js
d3.geo.js
d3.geo.min.js
d3.geom.min.js
d3.min.js
foreignAid.js
foreignAid.min.js
index.html
json.js

README.md

Greenbook Visualization

US Foreign Aid over time

This is a simple project I made to learn D3.js, a visualization and graphing library designed for interactive graphs.

Controls/Instructions:

  • Left click and drag map to move, control-click and drag to zoom
  • Hover over countries to see name and aid for that year, click for detailed stats
  • Hover over bar graphs to see aid for that year, click to switch years
  • The slider controls the displayed year as well

Data sources:

  • Greenbook data came from USAID.
  • "Inflation-adjusted dollars" were calculated using historical Consumer Price Indicies (CPI), available from the Bureau of Labor Statistics.
  • The USAID adjusts for inflation with "GDP Chain Price Index", but I didn't notice that until I had finished implementing the CPI.
Something went wrong with that request. Please try again.