d3 and threejs snippets