Switching Between Datasets
Example of using
react-simple-maps to create a choropleth map of the world that can toggle between displaying population data or the subregions of the world according to the UN Statistics Division.
How to use
Download this example map or clone the repo:
curl https://codeload.github.com/zcreativelabs/react-simple-maps/tar.gz/master | tar -xz --strip=2 react-simple-maps-master/examples/switching-between-datasets cd switching-between-datasets
Once you have downloaded the example install the dependencies and run the app.
npm install npm run dev