Skip to content

A website with various interactive charts and maps visualizing energy generation and consumption data.

Notifications You must be signed in to change notification settings

JamesRucker/Project2_PowerPlant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project2_PowerPlant

A website with various interactive charts and maps visualizing energy generation and consumption data

Table of Contents

Our Website

https://powerplant-project.herokuapp.com/

General Info

The project team selected this topic as we deeply care about this planet, its resources, and conservation. Energy, which must be harvested in various forms to support our society's increased needs for power and electricity, was our primary concern. The world uses and produces many different types and sources of energy, which can be grouped into general categories such as primary and secondary, renewable and nonrenewable, and fossil fuels. With this in mind, our team set out to create a website that could help visualize how and where energy is generated internationally, but with a special interest in the United States when international data become too cumbersome or "loud". Users may naviagate to various pages using the navbar.

This project was done for a data visualization bootcamp with particular interest in creating interactive elements on a website deployed to heroku.

Visualizations

  • Consumption: Charts by region and type, plus an international map, all changable by year
  • Production: Charts changable by year
  • Analysis: Static charts plus an interactive chart for choosing country
  • Plant Geo: Interactive map for power plant type in the United States
  • Plant Types: HTML charts detailing largest plants of various types

Technologies

  • Python version: 3.6.10.final.0
  • Pandas version: 1.0.4
  • Sqlalchemy version: 1.3.13
  • Psycopg2 version: 2.8.6
  • Plotly (Python and Javascript)
  • Flask
  • Jquery
  • Leaflet
  • SQL
  • CSS
  • Javascript
  • HTML
  • Heroku

Setup

As the site is already deployed to Heroku, there is little point in attempting to rerun the programs. However, if one wishes to rerun these programs, a config.py containing a username and password for sqlalchemy (named "username" and "password") and located in SQL_Script folder, as well as a config.js containing an API key for mapbox (named "API_KEY") will be necessary.

Sources

http://www.opendatasoft.com
https://www.eia.gov
https://ourworldindata.org/energy
https://www.arcgis.com
https://en.wikipedia.org/wiki/World_energy_consumption
https://energyeducation.ca/encyclopedia/Power_plant
https://plotly.com/javascript/
https://www.chartjs.org/docs/latest/
https://getbootstrap.com/docs/4.5/examples/
https://plotly.com/javascript/mapbox-county-choropleth/
https://www.colorhexa.com
https://git-scm.com/docs
https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging
https://docs.mapbox.com/api/maps/#datasets
https://github.com/JamesRucker/Project2_PowerPlant
https://fontawesome.com/icons/book-open?style=solid/a>
https://plotly.com/javascript/choropleth-maps/
https://www.w3schools.com/colors/colors_names.asp

About

A website with various interactive charts and maps visualizing energy generation and consumption data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published