Lesson 5 Overview

This week we will focus on learning how to create beautiful maps in Python and how to share them on GitHub using GitHub Pages.

  1. Static maps
  2. Interactive maps with bokeh
    2.1 Advanced map features in bokeh
  3. Interactive Leaflet maps with Folium
  4. Sharing interactive maps on GitHub
  5. Exercise 5
  6. Exercise 5 hints

As you might remember from our earlier plotting lesson during the Period I, there are many different Python modules that can be used for making visualizations.

Quite many of them allows you to create also different kinds of maps. During this lesson we will focus on few of them, namely:

In addition to these modules, there are also at least a few good and interesting modules for making maps that we cannot cover today:

  • mplleaflet (converts Matplotlib plots easily to interactive Leaflet maps)
  • Basemap (Matplotlib’s own mapping module)
  • GeoViews

Learning goals

After this weeks lesson you should be able to (at least):

  • Create a static map using Geopandas
  • Create a simple interactive map using either Bokeh or Folium (or both).
  • Share your maps (static / interactive) on GitHub using GitHub pages.