drew SVG graphics in D3