added d3 to base