Implment similar interface to googleVis motionchart

There is an extra level of parameter indirection that could possibly be
simplified, but this first step was simply to try to get things working
on top of the previous code/template.