text: import {BasicBarChart} from './basic-bar-chart';
  
  let data = require('./data/chapter1.json'); // Data from UNHCR, 2015.11.01: http://data.unhcr.org/api/population/regional.json
  
  let totalNumbers = data.filter((obj) => {return obj.population.length; })
    .map((obj) => {
      return {
        name: obj.name,
        population: Number(obj.population[0].value)
      };
    });
  
  
  new BasicBarChart(totalNumbers);
  
  require('./index.css');
  