Chapter 10. Creating Maps
In this chapter, we will cover the following recipes:
- Plotting global data by countries on a world map
- Creating graphs with regional maps
- Plotting data on Google Maps
- Creating and reading KML data
- Working with ESRI shapefiles
Introduction
In this chapter, we will take an in-depth look at visualizing data on geographical maps, building on top of our brief introduction in Chapter 1, R Graphics.
Overlaying datasets from different parts of the world on maps is a very good way of summarizing data in its correct geographical context. A lot of data is being made freely available. For example, the World Bank and World Health Organization (WHO) publish lots of socio-economic and health-related data that can be plotted on maps. Google ...
Get R: Data Analysis and Visualization now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.