function onAggsData (data) {
                    // $log.log('onAggsData');
                    scope.aggs = parseDiseaseAggs(data.aggregations);
                    scope.selectedagg = scope.selectedagg || scope.aggtype[0].id || _.keys(scope.aggs)[0];

                    onSelectAggsData();
                }
/*
                 * Handler for the aggregations data for the treemap
                 */
Handler for the aggregations data for the treemap
Handler for the aggregations data for the treemap
function onAggsData (data) {
                    scope.aggs = parseDiseaseAggs(data.aggregations);
                    scope.selectedagg = scope.selectedagg || scope.aggtype[0].id || _.keys(scope.aggs)[0];
                    onSelectAggsData();
                }
function onAggsData ( data ) { scope . aggs = parseDiseaseAggs ( data . aggregations ) ; scope . selectedagg = scope . selectedagg || scope . aggtype [ 0 ] . id || _ . keys ( scope . aggs ) [ 0 ] ; onSelectAggsData ( ) ; }
Handler for the aggregations data for the treemap
Handler for the aggregations data for the treemap
// $log.log('onAggsData');