d3 formula needed

Closed - This job posting has been filled and work has been completed.

Job Description

I need some javascript that will generate a svg of a country based on the 2 letter ISO code.

http://www.jasondavies.com/maps/countries-by-area/

The svg data is here:
http://www.naturalearthdata.com/

There are also the 2 letter iso codes contained there.

I want a formula like this:

function generateCountrySvg(2_letter_country_code, color);

You would also have to provide me with which source files to include.