Press Room


June 15, 2015

EIA's new energy visualization widget embeds interactive charts and maps on any website

The U.S. Energy Information Administration (EIA) today released a new widget that allows internet users to display interactive visualizations of current energy data from EIA on their own websites. The widget pulls user-selected data from EIA's application programming interface (API) to create maps, line charts, pie charts, and bar graphs. The interactive visualizations are configured to always show the latest EIA data so that the embedded charts and maps never go out of date.

Widget screen shot

For example, EIA's new widget tool allows users to embed visualizations showing monthly and quarterly net electricity generation for the United States, including the map shown above, on their own websites. When a visitor clicks on the map, the visualization also retrieves and graphs how this data breaks down the generation fuel for each U.S. state, how that state's electricity supplies are generated over time by different fuel sources, and how that state compares with other states. Thus, the effects of California's current drought can be seen with a decline in hydroelectric generation.

In another example, EIA's new widget allows users to embed U.S. petroleum production data in an interactive world map (one of several base maps offered by the tool). U.S. petroleum output can be easily compared to other countries' production by selecting specific nations on the map, which results in a line graph showing the output of each country chosen.

Widget screen shot

A wide range of EIA customers, including policymakers and their staff, journalists working on energy articles, researchers keeping up with the latest energy trends, students gathering information, and members of the public interested in energy issues can benefit from the new EIA widget.

The energy visualization tool joins the EIA Excel add-in and EIA's data API as a part of the agency's continuing efforts to share more of its energy data in easily updated, customizable ways. This version incorporates comments received during a beta testing phase earlier this year. These tools can be found on the Open Data section of EIA's website.

The product described in this press release was prepared by the U.S. Energy Information Administration (EIA), the statistical and analytical agency within the U.S. Department of Energy. By law, EIA's data, analysis, and forecasts are independent of approval by any other officer or employee of the United States Government. The views in the product and press release therefore should not be construed as representing those of the Department of Energy or other federal agencies.

EIA Program Contact: Mark Elbert,

EIA Press Contact: Jonathan Cogan, 202-586-8719,