A grid layout for d3.js