/scatterplot-with-voronoi

Inequality-adjusted Human Development Index versus Economic Complexity Index in 2015

Primary LanguageJavaScript

Scatterplot with Voronoi

An interactive scatterplot implemented with D3.js version 4.13.0. A Voronoi diagram is employed to make data exploration easier. The visualization builds on the previous scatterplot and uses some ideas from Peter Beshai's blog.

Getting started

  • Clone or download the repository.

  • Run a local web server1 so that the external data file can be loaded.

  • Interact with the scatterplot in your web browser.

1 If Python is installed on the computer, execute one of the following to run a web server locally on port 8000:

  • python -m SimpleHTTPServer 8000 for Python 2.x
  • python -m http.server 8000 for Python 3.x

Data sources

United Nations Development Programme and The Observatory of Economic Complexity.