Information

Project Overview

This project provides interactive visualizations and AI-generated insights into the current energy consumption and production across the United States. For each state, a general summary outlines its current energy usage, along with a tailored recommendation designed to support its transition toward renewable energy sources.

All data is sourced from the U.S. Energy Information Administration (EIA), focusing on their 2022 dataset.

Technical Overview

  • Frontend: A static website hosted on Amazon S3 and delivered through a CloudFront CDN for fast and scalable access.
  • Visualization: Built using D3 and the d3-geomap library to render geospatial visualizations of state-level energy data.
  • AI Summaries & Recommendations: Generated using two AWS Bedrock Agents, each extended with a Knowledge Base containing EIA profiles for all states (e.g. New Hampshire) The two agents are invoked by a Bedrock flow which decides which agent to use based on the GET request.
  • Caching: To optimize performance, AI responses for each state are cached in S3 and reused for subsequent requests.
  • API Layer: An AWS Lambda function, exposed via API Gateway, handles frontend queries and serves cached or newly generated responses as needed.

United States

Summary

AI Recommendation

Consumption (trillion BTU)

Non-Renewable

Renewable

Production (trillion BTU)

Non-Renewable

Renewable