added d3 and updated todo