A website with various interactive charts and maps visualizing energy generation and consumption data
https://powerplant-project.herokuapp.com/
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.
- 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
- 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
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.
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