Im converting a d3 svg object with use of canvg library to an canvas and display it as an image (png).
The resulting image has a transparent background, which is not
I'd "draw" the background in the svg with a rect:
rect