'use strict';
dataDashboard.controller('MainCtrl', ['$scope', 'Traffic', function ($scope, Traffic) {

    var getAllTraffic = function() {
      Traffic.getTraffic()
        .then(function(data) {
          if (data) {
            $scope.trafficList = data;
            // console.log($scope.trafficList);
            $scope.countryCount = _.countBy($scope.trafficList, 'country');
            // console.log($scope.countryCount);
            $scope.countries = _.map($scope.countryCount, function(a, b) {return b ? b : "Unknown";});
            $scope.visits = _.map($scope.countryCount, function(a, b) {return a;});
          }
        }, function(error) {
            console.log(error);
        });
    }();
  }]);

@@ -454,27 +454,28 @@
 untries = _.
-map
+keys
 ($scope.coun
@@ -486,52 +486,8 @@
 ount
-, function(a, b) %7Breturn b ? b : %22Unknown%22;%7D
 );%0A 
@@ -519,11 +519,14 @@
 = _.
-map
+values
 ($sc
@@ -545,36 +545,8 @@
 ount
-, function(a, b) %7Breturn a;%7D
 );%0A 

Change to keys and values functions from map for labels and visits and countries