We would be using a dataset of population of countries from 1800 to 2100. By representing this data, we could easily study the demographics and the ongoing trend of human population in each country. This is the dataset we would be using.
There would be diagrams that are labeled of each country. Users could click on a diagram to enlarge it and show the population of the country. Users would also be able to change the year through the use of a slider. Users would be able to find out the trend of human population and would be left wondering the causes of the trend.
Our project would be similar to this. We will have the enlargening feature when a user clicks on a country to display information on that country. When the user changes the year by using the slider the data will updated and show the population compared to the previous or next years. Users would be able to return to the map of the countries and look at the data for another country by clicking on it.
- Open a terminal session.
- Create your own environment by typing (name is a placeholder for the name of the virtual environment of your choosing):
$ python3 -m venv name
- Activate the virtual environment by typing
$ . name/bin/activatein the terminal and make sure it is running python3 by typing(venv)$ python --versionin the terminal. - Clone this repository. If you have already cloned this repository, skip this step. To clone this repo, open a terminal session and navigate to the directory you want for this repository to located in. Then clone using SSH by typing
(venv)$ [email protected]:wzhou2/No-Face.gitor clone using HTTPS by typing(venv)$ git clone https://github.com/wzhou2/No-Face.gitin the terminal. - Navigate to our repository by typing
$ cd No-Face/in the terminal. - Run the python file by typing
(venv)$ python app.pyin the terminal. This should appear in the terminal after running the python file.
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 248-748-502
- Open a web browser and navigate to the link http://127.0.0.1:5000/.

