In this tutorial, we create an interactive world map that shows the movie-production counts upon country-specific mouse-hover. This is done using D3 (v3).
To reproduce my results:
- Setup a server on your local machine using python. In the src directory run:
python -m http.server 8080
- Open up the world_map.html in your preferred browser to interact with it.
OBS: This only works for d3 v3.
Movie dataset: [https://data.world/data-society/imdb-5000-movie-dataset]
Using: [https://datamaps.github.io/], documentation at: [https://rdrr.io/cran/datamaps/man/]
Country ISO alpha 3 codes: [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3]
Inspired by: [https://codepen.io/kairusann/pen/yJggMw]