             # only keep the renderlet once
             dc.renderlet null
 
-          setupCharts $scope.region
+          # ensure we have the population data
+          populationData.then (data) ->
+            popData = data
+            setupCharts $scope.region
 
     # what value to use for year 0
     YEAR_ZERO=1950

      statusPerManagement: { sizeX: 6, sizeY: 4, row: 21, col: 0, title: "Functionality by Management" }
      statusPerExtraction: { sizeX: 6, sizeY: 4, row: 21, col: 6, title: "Functionality by Extraction" }

    modalSpinner = null
    $scope.openSpinner = () ->
      modalSpinner = $modal.open

            d.key +
             "\nAverage payment: " + valueAcc(d).toPrecision(4) +
             "\n% Functional: " + keyAcc(d).toPrecision(4) +
             "\nPopulation: " + radiusAcc(d))
          .renderTitle(true)

      removeEmptyGroups = (group) ->
