dist/js/d3-capabilities.js
/**** --- NEST DATA: data nest for list ***/
NEST DATA: data nest for list
NEST DATA : data nest for list
function nest_list_data(data) {
        let nested_list_data = d3.nest()
            .key(function(d) {
                return d["cod"];
            })
            .entries(data)
            .sort(function(a, b) {
                return d3.ascending(a.values[0].capacidad_dos, b.values[0].capacidad_dos);
            });
        return nested_list_data;
    }
function nest_list_data ( data ) { let nested_list_data = d3 . nest ( ) . key ( function ( d ) { return d [ "cod" ] ; } ) . entries ( data ) . sort ( function ( a , b ) { return d3 . ascending ( a . values [ 0 ] . capacidad_dos , b . values [ 0 ] . capacidad_dos ) ; } ) ; return nested_list_data ; }
NEST DATA: data nest for list
NEST DATA : data nest for list