Interactive Plan

2022-04-15

For our interactive, we plan on using a world map, and the user will be able to clink on individual countries to see their population, slum population, air quality, water quality, or access to specific basic resources. The user will be able to choose one of those variables to examine at a time, and we will include a slider so the user can see how the values of that variable have changed year by year. For different variables, the slider will include a different range of years, corresponding to the years that data was actually collected for that variable. In addition, we will make it possible for the user to change/input a country’s population in a future year, in order to visualize how a certain variable can change with respect to population.

We will also include an interactive plot which allows the user to view parameters such as air quality, slum population, and water quality averaged over regional groups or country income groups to compare the trends in these parameters across geographic or economic groupings. Another option in which we will allow users to become more specific in their interaction would be to enable them to filter through a multiple regression model of two main variables – for example disbursement and water quality – by adding more control variables to the model. This will allow the user to better understand the impact of solely the independent variable on the response variable. Furthermore, users will be able to see the interaction between the variables that they pick. This will also allow them to be able to create a unique model based off of their interest and customize different variables to what they are curious about.

Below is the beginning of the interactive we are planning to extend for the final project: https://shkim219.shinyapps.io/MA415app/