//draw chart lines
});
d3.select(this).select(".chartLine").remove().append("svg:g").style("stroke", "42689A") ;
+1 This is why the `this` context is a native DOM element rather than
a single element selection. If you're manipulating a single element,
it's perfectly reasonable to use the raw W3C DOM API. It's possible
that we could extend D3's `append` operator to append existing
elements rather than create them, but that could be a bit tricky to
fit into the data-driven design. Using the DOM API is the way to go in
this case.
Mike