changes to D3 constructor, positioning tiles