/human-development-index

An interactive choropleth map that displays human development indices in the world between 1990 and 2018

Primary LanguageJavaScript

Human development index (HDI)

An interactive choropleth map that shows human development indices in the world. The visualization offers the following interaction possibilities:

  • Moving the slider allows users to see how human development indices varied between 1990 and 2018.

  • Hovering over a country causes a tooltip containing the HDI for the chosen year to be displayed.

  • Users can select an HDI range by clicking and dragging on the legend. Countries whose indices fall within the said HDI range will be highlighted.

The visualization was implemented with React and D3. React renders visualization components, whereas D3 handles data and axis calculations. Thanks to React Hooks, only functional components were employed.

This project was bootstrapped with Create React App.

Getting started

  • Clone or download the repository

  • Navigate to the project directory: cd human-development-index

  • Install dependencies: npm install

  • Run the app in development mode: npm start

Please refer to the Create React App documentation for further information.

Data source

United Nations Development Programme · Data downloaded on 20 February 2020.