Country Map

This example shows how you can display a map of a country with subnational administrative units with react-simple-maps.

Check out the code for this example on github.

This map of Switzerland and its cantons was created with data from

To learn how to convert shapefiles into topojson that can be used with react-simple-maps read How to convert and prepare TopoJSON files for interactive mapping with d3 on medium.

* 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.