first instance of d3 working