Mapping

Plotting

Open a new notebook and follow along with the instructor by copy/pasting the comments and typing in the code below each.

## import modules here: geopandas, contextily, matplotlib.pyplot

## read the ec_streams data source as a spatial data set
## "https://raw.githubusercontent.com/mhaffner/data/master/ec_streams.geojson"

## plot it

## change the line width, the color, add a title, x axis label, y axis label

## add a basemap

## change the basemap tiles used

Using the same notebook, follow along with the instructor by copy/pasting the comments and typing in the code below each.

## read the following data as a spatial dataset:
## https://raw.githubusercontent.com/mhaffner/data/master/wi_counties.geojson

## create a choropleth map by the column AWATER

## now change the color map, add a title, x and y axis labels, legend

## add a basemap