Include/Exclude Geographies

This example shows how to use including and excluding geographies to create custom maps.

Check out the code for this example on github.

Isolating a set of geographies is a nice way to draw attention to a specific part of a map. In the above example we use a world map, but include only countries in Africa.

* The boundaries and the designations used on this map do not imply the expression of any opinion on the part of the react-simple-maps team or z creative labs and are used for illustrative purposes only. The boundaries and shapes are not part of the react-simple-maps library and are sourced from Natural Earth and

react-simple-maps is a library of React components to make SVG maps using d3-geo and topojson.

react-simple-maps was made at and is maintained by z creative labs.

Check out these mapping articles we wrote on Medium!
Copyright © Richard Zimerman 2017. MIT Licensed.