Skip to content

unhcr/dataviz-popstats

Repository files navigation

PopStats Dataviz

Interactive data-visualisation for popstats.unhcr.org

thumbnail.jpg


To install and serve locally

  1. npm install
  2. bower install
  3. grunt serve

To build and deploy

  1. grunt build packages the application into the dist folder
  2. ssh into server (unhcrpsr alias)
  3. cd /var/www/dataviz
  4. 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>```

About

Interactive data-visualisation for popstats.unhcr.org landing page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published