React application to display Sustainable Development Goals (SDGs) data for Indian states using bar chart and map for the years 2018-2020.
- It is developed using
React
frontend andRedux
for state management with JSON data from inside the application. - It comes with theme controls and optimized for viewing in small devices.
- It uses
Chartjs
for bar chart andLeaflet
for Map which fetches map data fromMapbox
api.
Install the dependencies with the following command:
npm install
To run a development build and launch the development server, execute:
npm start
Once completed, the app should be avialable from http://localhost:3000/
Add JSON of new data in src/data/
and add the year in YEARS variable in src/config/index.js
Updated GeoJSON can be loaded in src/data/
with the same name in future