thin wrapper over the data-driven documents (d3) library for use with gopherjs