Fixed scaling in of the graph
Removed the legend from the main SVG and placed it in it's own.

To ease the positioning of the legend it resides in it's own SVG
which is positioned with CSS now.
Fixed scaling and centering of the graph.