function buildDropdown(id, labels, values) {
    var req_option = d3.select(id);
    req_option.append("option").attr("value", "...").text("Select Option");
    for (var j = 0; j < values.length; j++) {
        req_option.append("option").attr("value", values[j]).text(labels[j]);
    }
}
//      values = an array that holds the strings that will be the value attribute for the html option tag
values = an array that holds the strings that will be the value attribute for the html option tag
values = an array that holds the strings that will be the value attribute for the html option tag
function buildDropdown(id, labels, values) {
    var req_option = d3.select(id);
    req_option.append("option").attr("value", "...").text("Select Option");
    for (var j = 0; j < values.length; j++) {
        req_option.append("option").attr("value", values[j]).text(labels[j]);
    }
}
function buildDropdown ( id , labels , values ) { var req_option = d3 . select ( id ) ; req_option . append ( "option" ) . attr ( "value" , "..." ) . text ( "Select Option" ) ; for ( var j = 0 ; j < values . length ; j ++ ) { req_option . append ( "option" ) . attr ( "value" , values [ j ] ) . text ( labels [ j ] ) ; } }
values = an array that holds the strings that will be the value attribute for the html option tag
values = an array that holds the strings that will be the value attribute for the html option tag