home

Working with the EIA.gov API

Section I: Introduction, Configuration and Setup

Section II: Aggregating EIA Data with Python

Section III: Cleaning, Visualization with Pandas, Matplotlib

Section IV: Understanding SVG Files with BeautifulSoup

Section V: Geoplotting State-Level US Data to Create Heatmaps

Creating Simple Heatmaps

The U.S. Energy Information Administration has a great website and is a go-to resource for anything energy data-related. The site provides a great GUI tool to explore various datasets, however to really dig into historical data, it's easier to bring data in from the back. Luckily, EIA has developed an API to allow for easy access to historical data with Python.

Creating a GIF with Adobe Photoshop / Illustrator

Renewable energy heatmap timelapse

Timelapse heatmap of renewable energy by state. Darker green indicates a higher percentage in energy portfolios.


← Back