give svg a margin
implement a svg view