A rectangular grid component for D3