remove graph via d3