Switching Between Datasets

This example uses react-simple-maps to bind data to a world map and create a choropleth map.

Check out the code for this example on github.

The above map can show either population data or coloring by world subregions, based on data from Natural Earth.

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

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.