Back in December of 2009 Joe Mayer created a database and API to access the Earth Policy Institute's data for the Sunlight Lab's Great American Hackathon. I had the chance to help out by troubleshooting cross domain request issues and created example graphs using the Flot javascript library for the jQuery javascript library.
In particular I graphed wind and photovoltaic energy production over time for a handful of the top producers. I found that in recent years the U.S. had pulled ahead as the top producer of wind energy (as of 2007) but we are way behind in photovoltaic energy production (as of 2008). Note the data is not per capita which leads me to the conclusion that Germans and Spaniards must be walking around with solar panels on their heads... Seriously though, we can do better.