From an example in the d3 book
Minor testing
Add node upon button click