moving d3-tutorial to D3