call function on the created element *after* it is created.  This is much more powerful and one doesn't have to worry about id names, etc.
Add graph_template json file.
Split out graph into a template and the page.  

This will allow us to add this widget easily to other pages on demand.