D3-based Mondrian-style image generator