World map statistics
Display a given metric/statistic on each country, on different historical periods. The metric shall be aggregated accordingly to the zoom level (e.g.. World view, continent, region, country). Besides the actual numerical value of the metrics (or aggregation), the statistic shall be display by painting all the countries with different intensities of a color, to be defined in runtime as well.
We generated JSON file with hierarchical structure of world from existing TopoJSON. To create invisible shapes of region, we take country shapes and used topojson.mesh(). The same was for continents . “jquery.anythingzoomer.js” was used to apply a zooming glass to the map.