You can now embed our energy production and consumption charts in your own blog or web site. The example below shows Saudi Arabia’s yearly crude oil production since 1980. The source of the data is the United States Energy Information Administration (EIA). Note that the EIA releases yearly numbers with a lag of up to three years.
The code I used to display the chart is shown below:
To obtain a different graph, change the following query string parameters:
country: two-character ISO country code. Example: us for the United States, fr for France
product: one of the following products: coal, oil, gas, hydro, ngl, nuclear, other
graph: production or consumption
lang: two-character ISO language code. Currently en is the only recognized value.