function remove_colour_map(data){
    map.selectAll(".marker")
    .style("background-color", function(d){
        if (d.searched_house == true)
        {
            return "yellow"
        }
        else if (barchart_data.indexOf(d) !== -1)
        {
            return "steelblue"
        }
    })
}
// function to remove colours from the map
function to remove colours from the map
function to remove colours from the map
function remove_colour_map(data){
    map.selectAll(".marker")
    .style("background-color", function(d){
        if (d.searched_house == true)
        {
            return "yellow"
        }
        else if (barchart_data.indexOf(d) !== -1)
        {
            return "steelblue"
        }
    })
}
function remove_colour_map ( data ) { map . selectAll ( ".marker" ) . style ( "background-color" , function ( d ) { if ( d . searched_house == true ) { return "yellow" } else if ( barchart_data . indexOf ( d ) !== - 1 ) { return "steelblue" } } ) }
function to remove colours from the map
function to remove colours from the map