Creating static Choropleth map images with Mapbox and shapefiles

An alternative to Google map charts

Since the deprication of the Google map charts API in 2012 there is a need for an alternative way to generate static images for choropleth maps. Here such alternative is discussed with using styled shapefiles in Mapbox.