Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hafidaso/worldenergy.github.io


https://github.com/hafidaso/worldenergy.github.io

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# World Energy Consumption Visualized

[Link to GitHub Pages](https://hafidaso.github.io/worldenergy.github.io/)

# Introduction

Welcome to the "World Energy Consumption Exploration" project, where we delve into the intricate relationship between a nation's energy consumption patterns and its economic prosperity. Our goal is to provide a comprehensive and interactive exploration using diverse visualizations that highlight global GDP distribution, energy consumption trends, and the impact of different energy sources on economies worldwide specific Africa.

## ****Project Objectives****

1. **Global GDP Distribution:** Analyzing and visualizing the distribution of Gross Domestic Product (GDP) across different countries globally.
2. **Energy Consumption Influence:** Investigating how the world's energy consumption patterns influence the economic growth of nations.
3. **Energy Mix Analysis:** Delving into the composition of energy sources and their contributions to the daily lives of people around the globe.
4. **Solar and Wind Power Generation in Africa:** Focusing on the utilization of solar and wind power in specific African countries - Morocco, Algeria, Tunisia, and Egypt. Exploring their impact on economic development and sustainability.

## ****Data Source****

We leverage a robust dataset from Our World *[Our World in Data](https://ourworldindata.org/energy)* in Data, covering key metrics such as energy consumption, energy mix, electricity mix, and more. The dataset, regularly updated, forms the foundation for the visualizations presented in this project.

## ****Visualizations Overview****

### **1. World Choropleth Map**

- **Objective:** Conveys the global distribution of GDP by color-coding countries on a choropleth map.
- **Insights:** Immediate visualization of countries' economic strengths and disparities, facilitating comparative analysis of GDP distribution globally.

![Screenshot 2023-12-08 at 9.35.35 PM.png](img/WorldChoroplethMap.png)

### **2. GDP vs Energy Consumption Chart**

- **Objective:** Illustrates the relationship between a country's GDP and energy consumption over time.
- **Insights:** Allows for the correlation analysis between GDP and energy consumption trends, offering a comparative view for selected countries.

![Screenshot 2023-12-08 at 9.37.18 PM.png](img/ParetoChart.png)

### **3. Renewable, Non-Renewable vs GDP Chart**

- **Objective:** Compares fossil fuel consumption, renewable energy consumption, and GDP for the top 5 most populous countries.
- **Insights:** Provides a comparative analysis of fossil fuel and renewable energy consumption, exploring the relationship between energy consumption, GDP, and environmental sustainability.

![Screenshot 2023-12-08 at 9.38.00 PM.png](img/BubbleChart.png)

### **4. Changing Energy Consumption and Type Chart**

- **Objective:** Displays the composition of energy production for a selected country over time.
- **Insights:** Reveals trends in energy source distribution over the years and allows for a comparative analysis of the contribution of each energy type.

![Screenshot 2023-12-08 at 9.38.47 PM.png](img/StackedAreaChart.png)

# ****Installation****

To explore and run the "World Energy Consumption Exploration" project locally, follow these steps:

## **Prerequisites**

- Ensure you have a modern web browser installed (e.g., Google Chrome, Mozilla Firefox).
- Have a text editor or an integrated development environment (IDE) for reviewing and modifying code.

## **Steps**

1. **Clone the Repository:**
- Open your terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
- Run the following command:

```bash
git clone [email protected]:Pradyothsp/world-energy-consumption.git
```

2. **Navigate to the Project Directory:**
1. Change your current directory to the cloned repository:

```bash
cd world-energy-consumption
```

3. **Host the Project:**
- If you encounter issues with loading local files due to security restrictions, consider hosting the project using a local server.
- You can use tools like Python's SimpleHTTPServer or Node.js's http-server for this purpose.

For Python 3:

```bash
python -m http.server
```

For Node.js (install it first if you haven't):

```bash
npm install -g http-server
http-server
```

- Visit **`http://localhost:8000`** (or another specified port) in your web browser.

By following these steps, you should be able to locally access and interact with the visualizations provided in the "World Energy Consumption Exploration" project. If you encounter any issues or have specific requirements, refer to the project's documentation or seek assistance in the respective community forums.

# Conclusion

The "World Energy Consumption Exploration" project leverages diverse visualizations to offer a nuanced understanding of the complex interplay between energy consumption patterns and economic prosperity globally. Through interactive charts and maps, the project facilitates insightful observations and comparisons, contributing to a richer comprehension of the dynamics shaping our world.

## Future Directions

As the project continues to evolve, potential future directions could include:

- **Real-time Data Integration:** Integrating real-time data sources to provide users with the most up-to-date information on global energy consumption and economic indicators.
- **Enhanced Interactivity:** Further enhancing the interactivity of visualizations, allowing users to customize and explore data based on specific criteria.
- **Mobile Responsiveness:** Optimizing the visualizations for mobile devices to ensure accessibility across a broader range of platforms.

In essence, the "World Energy Consumption Visualized" project stands as a testament to the power of data visualization in unraveling complex global phenomena. By providing a visual narrative of the intricate relationships between energy and economics, the project contributes to the broader conversation on sustainable development and the responsible utilization of global resources.

# References

1. [Our World in Data - Energy Dataset](https://ourworldindata.org/energy)
2. [Globe.gl - Interactive Globe Visualization](https://globe.gl/)
4. [D3.js Documentation](https://observablehq.com/@d3/stacked-area-chart/2)
5. Additional code snippets, resources, and inspirations are credited within the codebase and documentation.

These references have been instrumental in shaping and implementing the visualizations in the "World Energy Consumption Exploration" project. They serve as valuable sources for understanding D3.js, data visualization techniques, and best practices in presenting complex data in an accessible and informative manner.

# **License**

The "World Energy Consumption Visualized" project is released under the [MIT License](https://opensource.org/licenses/MIT).

This license grants users the freedom to use, modify, and distribute the software, subject to the conditions outlined in the MIT License. It ensures that users can freely interact with and build upon the project while providing proper attribution to the original authors.