remove d3 code from example