Interactive data-visualisation for popstats.unhcr.org
To install and serve locally
npm install
bower install
grunt serve
To build and deploy
grunt build
packages the application into the dist folder- ssh into server (unhcrpsr alias)
- cd /var/www/dataviz
- git pull
To embed the visualisation in other pages
<script>window.onresize = function(){
iframeResize();}; function iframeResize(){ var iw = $('#unhcr_popstats_embed').width();
$('#unhcr_popstats_embed').height(iw/1.415);};
</script>```