d3 utilities init