Projecting raster images with D3