Use groups rather than nesting SVGs
Add trendlines to graph