An open API service indexing awesome lists of open source software.

https://github.com/varunon9/india-choropleth-javascript

Building choropleth (heat map) of India using react-simple-maps.
https://github.com/varunon9/india-choropleth-javascript

choropleth-map datamaps-inida heatmap react react-simple-maps

Last synced: 7 months ago
JSON representation

Building choropleth (heat map) of India using react-simple-maps.

Awesome Lists containing this project

README

          

## Building choropleth (heatmap) of India using react-simple-maps.

### Screenshot

![India Heatmap](./screenshots/india-heatmap.png)

This project is bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

### How to run

1. Clone the project `git clone https://github.com/varunon9/india-choropleth-javascript.git`
2. Move to project `cd india-choropleth-javascript`
3. Install dependencies `yarn start`
4. Start Dev server `yarn start`
5. Browse http://localhost:3000/

### Available Scripts

In the project directory, you can run:

#### `yarn start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

#### `yarn test`

Launches the test runner in the interactive watch mode.

See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

#### `yarn build`

Builds the app for production to the `build` folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### References

1. datamaps: https://github.com/markmarkoh/datamaps
2. react-simple-maps: https://github.com/zcreativelabs/react-simple-maps

### Blog

https://medium.com/@varunon9/building-choropleth-map-heatmap-of-india-in-javascript-using-react-simple-maps-2e71758fc4df