Graphs in SVG based on nodejs