Skip to content

Commit

Permalink
Added switching-between-datasets example
Browse files Browse the repository at this point in the history
  • Loading branch information
zimrick committed Aug 5, 2017
1 parent 60a71d4 commit e7678eb
Show file tree
Hide file tree
Showing 5 changed files with 3,570 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/switching-between-datasets/README.md
@@ -0,0 +1,20 @@

# 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](https://unstats.un.org/unsd/methodology/m49/).

## How to use

Download this example map [or clone the repo](https://github.com/zcreativelabs/react-simple-maps):

```bash
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.

```bash
npm install
npm run dev
```

0 comments on commit e7678eb

Please sign in to comment.