USA energy use widget

Here’s a widget for your blog or website. If you’re viewing this in a blog reader you’ll probably need to hit the permalink to view this properly

The US spent 0 this year on imported fossil fuels.

EIA 2006 data.
Get this widget. Cyclelicious


I grabbed the code from the Sightline Institute Pacific Northwest energy counter and changed the numbers to reflect what the United States as a nation spent on fossil fuel imports in 2006. This data is from the US Energy Information Administration. Yes, we really did send nearly a billion dollars every day to foreign banks.

You can grab this widget for use on your own website. If you use the Javascript on my server, you must link back to Cyclelicious. You’re also free to copy the Javascript to your own server and use it unencumbered, if you wish. Here’s a handy 180px widget that you can copy into your blog our website. If you post this to something like Blogger.com and have auto linebreaks enabled (most people do), be careful that each of the two lines that begin “<script>” all remain one line! Don’t worry about how this code bleeds way over there on this page — it should cut and paste just fine.

<div style="font-family:Arial,Helvetica,sans-serif;background:darkblue;width:180px;margin:2px;padding:4px;border:solid black 1px;"> <h3 align="center" style="margin-top: 14px; font-size: 14px; color: white;">The US spent <span id="total" style="color:gray">0</span> this year on imported fossil fuels.</h3> <span style="font-size:8pt;color:white;">EIA 2006 data.</span><br /> <a style="font-size:10pt;margin:auto;color:white;" href="http://www.cyclelicio.us/2007/12/usa-energy-use-widget.html">Get this widget.</a> <a style="font-size:10pt;margin:auto;color:white;" href="http://www.cyclelicio.us/">Cyclelicious</a> </div>
<script language="JavaScript" src="http://www.cyclelicio.us/script/energy.js"> </script>
<script language="JavaScript"> startClock() </script>

4 Comments

  1. Anything I can do to help? I love this widget. It's up at Bicycle Diaries, though I change the appearance format to fit my overall design theme.

  2. Anything I can do to help? I love this widget. It's up at Bicycle Diaries, though I change the appearance format to fit my overall design theme.

  3. I took a look at it and…. apparently it was never broken. I guess I looked at the numbers after the New Year, couldn't imagine they could already be in the billions and assumed it couldn't be right so I disabled the script.

    But if the United States is spending over a billion dollars a day on imported fossil fuels, then yeah, we should be in the 10 digits on the second day of the year.

  4. I took a look at it and…. apparently it was never broken. I guess I looked at the numbers after the New Year, couldn't imagine they could already be in the billions and assumed it couldn't be right so I disabled the script.But if the United States is spending over a billion dollars a day on imported fossil fuels, then yeah, we should be in the 10 digits on the second day of the year.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.