formatted D3 histogram