May 2, 2017

Data Visualizations and Transformations

This shiny app allows people too compare histograms and spatial (heat) maps.

The Data

The data came from https://www.cia.gov/library/publications/resources/the-world-factbook/index.html. There are four key variables in this data:

  • country: the name of each country within our dataset
  • totalmilitary: Total annual military expenditures of each country
  • GDP: (purchasing power parity) compares the gross domestic product (GDP) or value of all final goods
  • population: estimated population of that country

About the Application

The user can select between various types of graphs and different variables.

Various graphics and sorted data are reactively displayed as a result of server calculations

Try it for yourself

Create a map using the variable, military spending: which country spends the most?

Now look at mitiary spending/GDP: How does transforming the data interpretation of how much countires spend?