Change how svg is generated in order to ease data pushing.

Organize graphic elements (symbols, lines, axis, background) in a tree structure and generate them using d3 selection. This allow an easier mapping between graphic elements and data.