Generates randomly colored grids as a JSON, then saves them as an SVG via node/d3