remove d3 dependency