Allow caller to specify value function.
Return svg container when finished to allow chaining.