Malaria Atlas Project based out of the University of Oxford. The raster of malaria incidence plotted below was used to make the main map.Data on population density was obtained from NASA’s Socioeconomic Data and Applications Center and had global coverage. In order to limit the population density raster to African countries a shape file containing only African countries was merged with the global population density data, creating the plot of the data below.Using R the rasters for population density and malaria were merged to put all the needed data into one place. Then, using the rasterToPoints command in the “raster” package, the raster data was transformed into a data frame that could be plotted with ggplot. In order to create the heart monitor-like look of the map each line of latitude had to be grouped together so ggplot could know to draw lines connecting each point of longitude that lay on the same line of latitude. Population data from 10 latitude points above and 10 latitude below each line was aggregated and malaria incidence data was averaged to avoid losing any data while only drawing 1/20th of the latitude lines. The code to create this map can be found on my GitHub page.