Working version of demo.html and demoApp.js.  Get value from input form, use it to dynamically update D3 drawing