back to d3 is not defined

Uncaught ReferenceError: d3 is not defined
https://github.com/mbostock/d3/issues/1693