Chapter 3. Maps

In this chapter, we will cover the following recipes:

  • Introducing regional maps
  • Introducing choropleth maps
  • A guide to contour maps
  • Constructing maps with bubbles
  • Integrating text with maps
  • Introducing shapefiles
  • Creating cartograms

Introduction

Maps are one of the most widely used forms of data visualization. With the advancement in Geographic Information Systems and technology, it has become possible to collect more precise data and visualize it to reveal trends and conclusions, which seemed impossible before. It is possible to aggregate data based on the geographic location and study the emerging patterns, understand the relationships between two regions, and observe the changing pattern over time.

My motive behind this chapter is to ...

Get R: Recipes for Analysis, Visualization and Machine Learning 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.