d3 example

* add code for d3 example
* closes #432