Adjusted height and width of SVG and the charge value of the graph