...

/

Advanced Plotting with Geoplot

Advanced Plotting with Geoplot

Discover what can be done with the Geoplot package for maps visualization.

We'll cover the following...

Introduction

While GeoPandas and Matplotlib offer a simple interface for basic plotting of vectorial maps, more complex tasks can become rather challenging to implement. Recognizing this gap, Geoplot was conceived as a high-level Python geospatial plotting library. It offers a suite of tools designed to facilitate the visualization of Geopandas, GeoDataFrame, and GeoSeries objects. In essence, Geoplot is to GeoPandas what Seaborn is to Matplotlib, providing an advanced layer of abstraction for ease of use.

Geoplot boasts support for an extensive array of plot types. These range from basic points, lines, and polygons to more complex representations such as cartograms, sankey diagrams, and density plots. It also enables certain geometric operations, including the creation of Voronoi polygons.

In the the next two sections, we'll explore two of Geoplot's key features and their functionality:

  • Cartograms

  • Density plots

Cartograms

A cartogram is a type of map that alters the geometry or space of the map to represent the value of a specific ...